# CVE-2023-23913: rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements

Source: https://junglewise.ai/threats/cve-2023-23913-rails-ujs-vulnerable-to-dom-based-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-09  
License: CC BY 4.0 with a link back

CVE-2023-23913 · Severity: low · CVSS 3.1 · Published 2023-06-09

rails-ujs vulnerable to DOM Based Cross-site Scripting contenteditable HTML Elements

Technologies: [actionview (RubyGems)](https://junglewise.ai/threats/technologies/actionview). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2023-23913 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-23913 being exploited in the wild.

**How severe is CVE-2023-23913?** Low severity, with a CVSS score of 3.1, published 9 June 2023.

**Which products and versions are affected?** actionview (RubyGems) ECOSYSTEM:introduced=5.1.0,fixed=6.1.7.3.

**Is there a fix for CVE-2023-23913?** Yes. actionview (RubyGems): upgrade to 6.1.7.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-23913?** Check whether you run actionview (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- actionview (RubyGems): upgrade to 6.1.7.3 or later

  ```sh
  bundle update actionview
  ```


## Affected products

- actionview (RubyGems) ECOSYSTEM:introduced=5.1.0,fixed=6.1.7.3

## Identifiers

- CVE-2023-23913
- GHSA-xp5h-f8jf-rc8q

## Related threats

- [Rails Action View XSS via HTML5 sanitizer in text helpers](https://junglewise.ai/threats/cve-2026-126079-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails Action View TextHelper highlight XSS](https://junglewise.ai/threats/cve-2026-126078-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails Action View strip_tags XSS in HTML attributes](https://junglewise.ai/threats/cve-2026-126070-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Ruby on Rails Action View XSS in tag helpers via whitespace attribute names](https://junglewise.ai/threats/cve-2026-126069-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails has a possible XSS vulnerability in its Action View tag helpers](https://junglewise.ai/threats/cve-2026-33168-rails-has-a-possible-xss-vulnerability-in-its-action-view-tag)
