DOM-based cross-site scripting in ActionView - CVE-2023-23913

 

DOM-based cross-site scripting in ActionView - CVE-2023-23913

Published: March 14, 2023


Vulnerability identifier: #VU73275
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2023-23913
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in rails-ujs, which leverages the Clipboard API to target HTML elements that are assigned the contenteditable attribute. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

ActionView
Debian Linux
SUSE Linux Enterprise High Availability Extension 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux
SUSE Linux Enterprise Server 15 SP2 Business Critical Linux
SUSE Linux Enterprise Server 15 SP3 Business Critical Linux
openSUSE Leap
openEuler
ruby2.5-rubygem-actionview-5_1
ruby2.5-rubygem-actionview-doc-5_1
rubygem-actionview
rubygem-actionview-doc
rails (Debian package)

How to mitigate CVE-2023-23913

Install updates from vendor's website.

ActionView - addressed in versions 6.1.7.3, 7.0.4.3
ruby2.5-rubygem-actionview-5_1 - update to 5.1.4-150000.3.9.1
ruby2.5-rubygem-actionview-doc-5_1 - update to 5.1.4-150000.3.9.1
rubygem-actionview - addressed in versions 5.2.4.4-2, 6.1.4.1-2
rubygem-actionview-doc - addressed in versions 5.2.4.4-2, 6.1.4.1-2
rails (Debian package) - update to 2:6.0.3.7+dfsg-2+deb11u2

External References

Related Security Bulletins