CVE-2022-43670 XSS in Sling CMS Reference App Taxonomy Path

Medium 5.4 Published Updated

An authenticated attacker can execute arbitrary scripts in the taxonomy management feature of Apache Sling CMS via reflected XSS.

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-43670?

CVE-2022-43670 is a medium-severity cross-site scripting vulnerability in Apache Sling App CMS, published on 2 Nov 2022. 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.0 and prior may allow an authenticated remote attacker to perform a reflected cross site scripting (XSS) attack in the taxonomy management feature.

Weakness: CWE-79

Which versions are affected by CVE-2022-43670?

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

Products include Apache Sling Cms.

How do I fix CVE-2022-43670?

Upgrade org.apache.sling:org.apache.sling.cms to 1.1.2 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-43670 being exploited?

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

Sources

Also known as GHSA-jj93-4jr5-x45h.

Is CVE-2022-43670 in your software?

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

Check your SBOMs for free