CVE-2023-23913

published 9 Jan 2025 · updated 9 Jan 2025

There is a potential DOM based cross-site scripting issue in rails-ujs which leverages the Clipboard API to target HTML elements that are…

6.3MediumCVSS 6.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in rails 6.1.7.3 and rails 7.0.4.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Railsrails>=6.1.7.3 <6.1.7.3, >=7.0.4.3 <7.0.4.36.1.7.3, 7.0.4.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Rails, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-23913 severity on Zeptric[![CVE-2023-23913](https://zeptric.io/badge/cve/CVE-2023-23913.svg)](https://zeptric.io/cve/CVE-2023-23913)