XSS in Rails Rails-Ujs

CVE-2023-23913

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (47.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-23913?
CVE-2023-23913 is a medium-severity vulnerability in Rails Rails-Ujs, classified under Cross-site Scripting. CVSS score: 6.3/10. Published 2025-01-09.
How severe is CVE-2023-23913?
Medium severity. CVSS v3 base score is 6.3 out of 10.