CVE-2023-23913: rails rails-ujs
Vulnerability summary
CVE-2023-23913 is a medium (CVSS 6.3) vulnerability in rails rails-ujs. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 52% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 09-01-2025PublishedVulnerability first disclosed.
- 09-01-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · RubygemsEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- NVDNIST6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.64% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse5 products
- rubygem-actionview-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1< 5.1.4-150000.3.9.1
- rubygem-actionview-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2< 5.1.4-150000.3.9.1
- rubygem-actionview-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3< 5.1.4-150000.3.9.1
- rubygem-actionview-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP4< 5.1.4-150000.3.9.1
- rubygem-actionview-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP5< 5.1.4-150000.3.9.1
Opensuse2 products
- rubygem-actionview-5_1&distro=openSUSE Leap 15.4< 5.1.4-150000.3.9.1
- rubygem-actionview-5_1&distro=openSUSE Leap 15.5< 5.1.4-150000.3.9.1
Debian1 product
- rails< 2:6.1.7.3+dfsg-1
Rails1 product
- rails-ujs≥ 6.1.7.3, < 6.1.7.3 | ≥ 7.0.4.3, < 7.0.4.3
RubyGems1 product
- actionview≥ 5.1.0, < 6.1.7.3 | ≥ 7.0.0, < 7.0.4.3
Ubuntu1 product
- railsAll versions (No fix recorded)
6 vendors · 11 products
References
16 linksShow all 16 references
- github.com/rails/railsPACKAGE