{"cve":"CVE-2023-23913","nvd":{"published":"2025-01-09T01:15:07.257","modified":"2026-06-17T05:38:15.710","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-79"],"references":["https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263","https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468","https://github.com/rails/rails/commit/5037a13614d71727af8a175063bcf6ba1a74bdbd","https://security.netapp.com/advisory/ntap-20240605-0007/","https://www.debian.org/security/2023/dsa-5389"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:58:20.756570362+00:00"},"epss":{"cve":"CVE-2023-23913","score":0.00639,"percentile":0.50621,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xp5h-f8jf-rc8q","url":"https://osv.dev/vulnerability/GHSA-xp5h-f8jf-rc8q","summary":"rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements","modified":"2025-01-09T19:12:08.012257Z","packages":[{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[">=5.1.0 <6.1.7.3"],"fixed":["6.1.7.3"]},{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[">=7.0.0 <7.0.4.3"],"fixed":["7.0.4.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}