CVEvulnerability
CVE-2023-23913
6.3 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-01-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-79
Description
There is a potential DOM based cross-site scripting issue in rails-ujs which leverages the Clipboard API to target HTML elements that are assigned the contenteditable attribute. This has the potential to occur when pasting malicious HTML content from the clipboard that includes a data-method, data-remote or data-disable-with attribute.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263 bugs.debian.org
- https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468 discuss.rubyonrails.org
- https://github.com/rails/rails/commit/5037a13614d71727af8a175063bcf6ba1a74bdbd github.com
- https://security.netapp.com/advisory/ntap-20240605-0007/ security.netapp.com
- https://www.debian.org/security/2023/dsa-5389 www.debian.org