ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2023-23913

Details

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 packages

EcosystemPackageAffected versions
Debian:12rails
All versions before 2:6.1.7.3+dfsg-1 (fixed in 2:6.1.7.3+dfsg-1)
Debian:13rails
All versions before 2:6.1.7.3+dfsg-1 (fixed in 2:6.1.7.3+dfsg-1)
Debian:14rails
All versions before 2:6.1.7.3+dfsg-1 (fixed in 2:6.1.7.3+dfsg-1)

References