Read the docs
TI-2023-09711 Aliases CVE-2023-23913GHSA-xp5h-f8jf-rc8q

Cross-site scripting in rails-ujs

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00639 50th percentileScored 2026-11-07
Fix Partial rails-ujs (Rails): 6.1.7.3, 7.0.4.3, 5.1.0actionview (RubyGems): 6.1.7.3, 7.0.4.3Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Railsrails-ujs6.1.7.3 to before 6.1.7.3; 7.0.4.3 to before 7.0.4.36.1.7.3, 7.0.4.3, 5.1.0Patch availableCNA
—actionview (RubyGems)5.1.0 to before 6.1.7.36.1.7.3Patch availableGHSA-xp5h-f8jf-rc8q
—actionview (RubyGems)7.0.0 to before 7.0.4.37.0.4.3Patch availableGHSA-xp5h-f8jf-rc8q
  • rails-ujs VendorRails Affected 6.1.7.3 to before 6.1.7.3; 7.0.4.3 to before 7.0.4.3 Fixed in 6.1.7.3, 7.0.4.3, 5.1.0 Patch available CNA
  • actionview (RubyGems) Vendor— Affected 5.1.0 to before 6.1.7.3 Fixed in 6.1.7.3 Patch available GHSA-xp5h-f8jf-rc8q
  • actionview (RubyGems) Vendor— Affected 7.0.0 to before 7.0.4.3 Fixed in 7.0.4.3 Patch available GHSA-xp5h-f8jf-rc8q

Remediation

  • Fix · CNA rails-ujs (Rails) Fixed in 6.1.7.3, 7.0.4.3, 5.1.0
  • Fix · GHSA-xp5h-f8jf-rc8q actionview (RubyGems) Fixed in 6.1.7.3 Advisory →
  • Fix · GHSA-xp5h-f8jf-rc8q actionview (RubyGems) Fixed in 7.0.4.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat 3scale API Management Platform 2AffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-23913
  2. 2026-10-03 Alias added: GHSA-xp5h-f8jf-rc8q
  3. 2026-10-24 EPSS moved to the 50th–90th percentile

References

  • TI-2014-00124 Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03828 Path traversal in Rails https://github.com/rails/rails KEVCVSS 3.1HIGH 7.5
  • TI-2016-00672 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
  • TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
  • TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
See all 163 →

Sources