CVE-2020-1949 Cross-site scripting in Apache Sling

Medium 6.1 Published Updated

Reflected XSS in Apache Sling CMS admin consoles allows attackers to execute scripts via unescaped URL selectors.

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
None listed

What is CVE-2020-1949?

CVE-2020-1949 is a medium-severity cross-site scripting vulnerability in Apache Sling, published on 1 Apr 2020. 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

Scripts in Sling CMS before 0.16.0 do not property escape the Sling Selector from URLs when generating navigational elements for the administrative consoles and are vulnerable to reflected XSS attacks.

Weakness: CWE-79

Which versions are affected by CVE-2020-1949?

It affects 1 product.

Products include Apache Sling Cms.

How do I fix CVE-2020-1949?

No fix has been published for CVE-2020-1949 yet. Limit exposure of the affected software until one is available.

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-2020-1949 being exploited?

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

Sources

Also known as GHSA-2r68-qm7v-72rg.

Is CVE-2020-1949 in your software?

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

Check your SBOMs for free