CVE-2023-23913

State
Published
Severity
6.3 Medium
Published
Jan 9, 2025
Updated
Jan 9, 2025
Reserved
Jan 19, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LCISA-ADP

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
rails-ujsRails
  • 6.1.7.3 to before 6.1.7.3Affected
  • 7.0.4.3 to before 7.0.4.3Affected
  • 5.1.0 to before 5.1.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.