CVE-2022-46769 Apache Sling App CMS: XSS in CMS Site Group Detail

Medium 5.4 Published Updated

An authenticated attacker can execute arbitrary scripts in the site group feature via reflected XSS, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-46769?

CVE-2022-46769 is a medium-severity cross-site scripting vulnerability in Apache Sling App CMS, published on 9 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An improper neutralization of input during web page generation ('Cross-site Scripting') [CWE-79] vulnerability in Sling App CMS version 1.1.2 and prior may allow an authenticated remote attacker to perform a reflected cross-site scripting (XSS) attack in the site group feature.

Upgrade to Apache Sling App CMS >= 1.1.4

Weakness: CWE-79

Which versions are affected by CVE-2022-46769?

2 open source packages ship an affected version, including org.apache.sling:org.apache.sling.cms. It affects 1 product.

PackageAffectedFixed in
org.apache.sling:org.apache.sling.cms MavenAll versions1.1.4
org.apache.sling:org.apache.sling.cms MavenAll versions1.1.4

Products include Apache Sling Cms.

How do I fix CVE-2022-46769?

Upgrade org.apache.sling:org.apache.sling.cms to 1.1.4 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-46769 being exploited?

There is no known exploitation of CVE-2022-46769 in the wild and no public exploit code.

Sources

Also known as GHSA-38m2-vr6g-8c94.

Is CVE-2022-46769 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free