CVE-2023-23913

Medium

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductRails-ujs
PublishedJan 9, 2025
First seenJan 9, 2025

How to fix

Update
  • Rails rails-ujs6.1.7.3, 7.0.4.3 or later

Affected products

ProductAffected versionsFixed in
Rails rails-ujs6.1.7.3, 7.0.4.36.1.7.3, 7.0.4.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.