CVE-2023-23913: Rails Rails-Ujs

Medium severity, CVSS 6.3. EPSS: 0.6% chance of exploitation in the next 30 days.

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 products

  • Rails Rails-Ujs: from 6, before 6.1.7.3 (fixed in 6.1.7.3); from 7, before 7.0.4.3 (fixed in 7.0.4.3)

Published 2025-01-09. Last modified 2026-06-17.