cbcvebase.
CVE-2023-23913
published 2025-01-09

CVE-2023-23913: 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…

medium6.3CVSS 3.1
AVNACLPRNUIRSUCLILAL
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

9 ranges
VendorProductVersion rangeFixed in
debianrails< rails 2:6.1.7.3+dfsg-1 (bookworm)rails 2:6.1.7.3+dfsg-1 (bookworm)
railsactionview>= 5.1.0 < 6.1.7.36.1.7.3
railsactionview>= 7.0.0 < 7.0.4.37.0.4.3
railsrails-ujs>= 6.1.7.3 < 6.1.7.36.1.7.3
railsrails-ujs>= 7.0.4.3 < 7.0.4.37.0.4.3
rubyonrailsrails>= 0 < 2:6.0.3.7+dfsg-2+deb11u22:6.0.3.7+dfsg-2+deb11u2
rubyonrailsrails>= 0 < 2:6.1.7.3+dfsg-12:6.1.7.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.1.7.3+dfsg-12:6.1.7.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.1.7.3+dfsg-12:6.1.7.3+dfsg-1

CVSS provenance

nvdv3.16.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
ghsa6.3MEDIUM
osv6.3MEDIUM