CVE-2021-21043 Reflected Cross-site Scripting (XSS) on version-compare and page-compare tools

Medium 6.1 Published Updated

Attackers can inject malicious JavaScript into version-compare and page-compare tools, executing it in victims' browsers via reflected XSS.

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-2021-21043?

CVE-2021-21043 is a medium-severity cross-site scripting vulnerability in Adobe Experience Manager, published on 2 Feb 2021. 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

ACS Commons version 4.9.2 (and earlier) suffers from a Reflected Cross-site Scripting (XSS) vulnerability in version-compare and page-compare due to invalid JCR characters that are not handled correctly. An attacker could potentially exploit this vulnerability to inject malicious JavaScript content into vulnerable form fields and execute it within the context of the victim's browser. Exploitation of this issue requires user interaction in order to be successful.

Weakness: CWE-79

Which versions are affected by CVE-2021-21043?

2 open source packages ship an affected version, including com.adobe.acs:acs-aem-commons. It affects 1 product.

PackageAffectedFixed in
com.adobe.acs:acs-aem-commons MavenAll versions4.10.0
com.adobe.acs:acs-aem-commons MavenAll versions4.10.0

Products include Adobe Adobe Consulting Services Commons.

How do I fix CVE-2021-21043?

Upgrade com.adobe.acs:acs-aem-commons to 4.10.0 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-2021-21043 being exploited?

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

Sources

Also known as GHSA-7r83-w6r8-fh6w.

Is CVE-2021-21043 in your software?

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

Check your SBOMs for free