CVE-2023-23913
published 2025-01-09CVE-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
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rails | < rails 2:6.1.7.3+dfsg-1 (bookworm) | rails 2:6.1.7.3+dfsg-1 (bookworm) |
| rails | actionview | >= 5.1.0 < 6.1.7.3 | 6.1.7.3 |
| rails | actionview | >= 7.0.0 < 7.0.4.3 | 7.0.4.3 |
| rails | rails-ujs | >= 6.1.7.3 < 6.1.7.3 | 6.1.7.3 |
| rails | rails-ujs | >= 7.0.4.3 < 7.0.4.3 | 7.0.4.3 |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-2+deb11u2 | 2:6.0.3.7+dfsg-2+deb11u2 |
| rubyonrails | rails | >= 0 < 2:6.1.7.3+dfsg-1 | 2:6.1.7.3+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.1.7.3+dfsg-1 | 2:6.1.7.3+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.1.7.3+dfsg-1 | 2: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