Cross-site scripting in Loofah - CVE-2022-23515

 

Cross-site scripting in Loofah - CVE-2022-23515

Published: December 14, 2022


Vulnerability identifier: #VU70329
CSH Severity: Low
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-2022-23515
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 passed via the image/svg+xml media type in data URIs. A remote attacker can trick the victim to follow a specially crafted link 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

Loofah
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 Server
SUSE Manager Proxy
SUSE Manager Retail Branch 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
Fedora
ruby2.5-rubygem-loofah
ruby2.5-rubygem-loofah-doc
ruby2.5-rubygem-loofah-testsuite
rubygem-loofah
Red Hat Satellite

How to mitigate CVE-2022-23515

Install updates from vendor's website.

Loofah - update to 2.19.1
ruby2.5-rubygem-loofah - update to 2.2.2-150000.4.9.1
ruby2.5-rubygem-loofah-doc - update to 2.2.2-150000.4.9.1
ruby2.5-rubygem-loofah-testsuite - update to 2.2.2-150000.4.9.1
rubygem-loofah - update to 2.22.0-1.fc40
Red Hat Satellite - update to 6.13

External References

Related Security Bulletins