Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/rails/rails ↗ | |
| f09dc7c4c2e8b9375345d443c230cb8d78ad6a18 to before 5037a13614d71727af8a175063bcf6ba1a74bdbd | 5037a13614d71727af8a175063bcf6ba1a74bdbd |
Also listed as affected (2)
| |
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.
References
- Webbugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263 ↗
- Webdiscuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23913.json ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-23913 ↗
- Advisorysecurity.netapp.com/advisory/ntap-20240605-0007/ ↗
- Advisorywww.debian.org/security/2023/dsa-5389 ↗
- Fixgithub.com/rails/rails/commit/5037a13614d71727af8a175063bcf6ba1a74bdbd ↗