CVE-2023-23913
rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install actionview -v 6.1.7.3
gem install actionview -v 7.0.4.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| actionview | rubygems | 5.1.0, 5.1.1, 5.1.2, 5.1.2.rc1 (+102 more) | 6.1.7.3 |
| actionview | rubygems | 7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+8 more) | 7.0.4.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-23913ADVISORY
- https://github.com/rails/rails/commit/5037a13614d71727af8a175063bcf6ba1a74bdbdWEB
- https://github.com/rails/rails/commit/73009ea59a811b28e8ec2a9c9bc24635aa891214WEB
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263WEB
- https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468WEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2023-23913.ymlWEB
- https://security.netapp.com/advisory/ntap-20240605-0007WEB
- https://www.debian.org/security/2023/dsa-5389WEB
Frequently Asked Questions
- What is CVE-2023-23913?
- rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
- How do I check if my project is affected by CVE-2023-23913?
- CVE-2023-23913 affects actionview. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-23913 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2020-8163HIGH
Remote code execution via user-provided local names in ActionView
- CVE-2019-5419HIGH
Denial of Service Vulnerability in Action View
- CVE-2016-0752HIGH
Directory traversal vulnerability in Action View in Ruby on Rails
- CVE-2026-61807MEDIUM
Snipe-IT: Stored DOM XSS via table selected-count IDs
- CVE-2022-27777MEDIUM
XSS Vulnerability in Action View tag helpers
- CVE-2016-6316MEDIUM
actionview Cross-site Scripting vulnerability
- CVE-2016-2097MEDIUM
actionview contains Path Traversal vulnerability
- CVE-2026-33168LOW
Rails has a possible XSS vulnerability in its Action View tag helpers
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies