{"id":"CVE-2023-23913","published":"2025-01-09T00:33:47Z","modified":"2025-01-09T17:09:39Z","title":"There is a potential DOM based cross-site scripting issue in rails-ujs which leverages the Clipboard API to target…","vendor":"Rails","product":"rails-ujs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00639,"percentile":0.51554,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263","tags":[]},{"url":"https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468","tags":[]},{"url":"https://github.com/rails/rails/commit/5037a13614d71727af8a175063bcf6ba1a74bdbd","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240605-0007/","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5389","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.31},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"rails","affectedVersions":[{"vendor":"Rails","product":"rails-ujs","versions":[">= 6.1.7.3, < 6.1.7.3",">= 7.0.4.3, < 7.0.4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-09T17:07:37.883185Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"actionview","vulnerableRanges":[">=5.1.0, <6.1.7.3",">=7.0.0, <7.0.4.3"],"patched":["6.1.7.3","7.0.4.3"],"from":["GHSA-xp5h-f8jf-rc8q"],"provenance":"source"}],"summary":{"text":"The flaw is a DOM-based cross-site scripting issue in the rails-ujs component of the Rails product, where the Clipboard API is used to target HTML elements carrying the contenteditable attribute. An attacker can exploit it by getting a user to paste malicious HTML from the clipboard that includes a data-method, data-remote or data-disable-with attribute, which requires user interaction and no authentication or network access beyond delivering that content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:05Z"},"euvd":{"id":"EUVD-2023-1918","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-8167","published":"2020-06-19","fixed":"6.0.3.1","kev":false},{"cve":"CVE-2020-15169","published":"2020-09-11","fixed":"6.0.3.3","kev":false},{"cve":"CVE-2022-27777","published":"2022-05-26","fixed":"7.0.2.4","kev":false},{"cve":"CVE-2023-23913","published":"2025-01-09","fixed":"7.0.4.3","kev":false},{"cve":"CVE-2026-33168","published":"2026-03-23","fixed":"8.1.2.1","kev":false,"link":{"from":"CVE-2023-23913","to":"CVE-2026-33168","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionview","fromFixed":"7.0.4.3","toFixed":"7.2.3.1","daysApart":438}]}},{"cve":"CVE-2026-126069","published":"2026-11-10","fixed":"8.1.4.1","kev":false},{"cve":"CVE-2026-126070","published":"2026-11-10","fixed":"8.1.4.1","kev":false}],"package":"RubyGems:actionview"}}