{"id":"CVE-2023-23913","state":"PUBLISHED","title":"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. Th","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.","publishedAt":"2025-01-09T00:33:47.769Z","updatedAt":"2025-01-09T17:09:39.091Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"hackerone","products":["Rails rails-ujs"],"affected":[{"vendor":"Rails","product":"rails-ujs","versions":[{"version":"6.1.7.3","status":"affected","lessThan":"6.1.7.3","versionType":"custom"},{"version":"7.0.4.3","status":"affected","lessThan":"7.0.4.3","versionType":"custom"},{"version":"5.1.0","status":"unaffected","lessThan":"5.1.0","versionType":"custom"}]}],"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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/23xxx/CVE-2023-23913.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-23913","state":"PUBLISHED","datePublished":"2025-01-09T00:33:47.769Z","dateUpdated":"2025-01-09T17:09:39.091Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2023-01-19T18:13:13.209Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Rails","product":"rails-ujs","versions":[{"version":"6.1.7.3","status":"affected","lessThan":"6.1.7.3","versionType":"custom"},{"version":"7.0.4.3","status":"affected","lessThan":"7.0.4.3","versionType":"custom"},{"version":"5.1.0","status":"unaffected","lessThan":"5.1.0","versionType":"custom"}]}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263"},{"url":"https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468"},{"url":"https://github.com/rails/rails/commit/5037a13614d71727af8a175063bcf6ba1a74bdbd"},{"url":"https://security.netapp.com/advisory/ntap-20240605-0007/"},{"url":"https://www.debian.org/security/2023/dsa-5389"}],"providerMetadata":{"shortName":"hackerone","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateUpdated":"2025-01-09T00:33:47.769Z"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-09T17:07:37.883185Z","id":"CVE-2023-23913","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-09T17:09:39.091Z"}}]}}}