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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.006 (47.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-23913: held from 0.006 to 0.006.

EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: -0.000

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.