CVE-2023-22849 Apache Sling App CMS: XSS in CMS Reference / UI Components

Medium 6.1 Published Updated

Authenticated attackers can execute arbitrary scripts in victim browsers via reflected XSS in Apache Sling App CMS UI components.

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

What is CVE-2023-22849?

CVE-2023-22849 is a medium-severity cross-site scripting vulnerability in Apache Sling App CMS, published on 4 Feb 2023. An attacker can exploit it over the internet without logging in, 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.4 and prior may allow an authenticated remote attacker to perform a reflected cross-site scripting (XSS) attack in multiple features.

Upgrade to Apache Sling App CMS >= 1.1.6

Weakness: CWE-79

Which versions are affected by CVE-2023-22849?

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.6
org.apache.sling:org.apache.sling.cms MavenAll versions1.1.6

Products include Apache Sling Cms.

How do I fix CVE-2023-22849?

Upgrade org.apache.sling:org.apache.sling.cms to 1.1.6 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-2023-22849 being exploited?

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

Sources

Also known as GHSA-rghh-ghf7-7943.

Is CVE-2023-22849 in your software?

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

Check your SBOMs for free