CVE-2021-40711 Adobe Experience Manager Stored Cross-Site Scripting Could Lead to Arbitrary Code Execution
Authenticated attackers can inject malicious scripts via Content Fragments, leading to arbitrary code execution in victim browsers.
- 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
- None listed
What is CVE-2021-40711?
CVE-2021-40711 is a medium-severity cross-site scripting vulnerability in Adobe Experience Manager, published on 27 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Adobe Experience Manager version 6.5.9.0 (and earlier) is affected by a stored XSS vulnerability when creating Content Fragments. An authenticated attacker can send a malformed POST request to achieve arbitrary code execution. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.
Weakness: CWE-79
Which versions are affected by CVE-2021-40711?
It affects 1 product.
Products include Adobe Experience Manager.
How do I fix CVE-2021-40711?
No fix has been published for CVE-2021-40711 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-2021-40711 being exploited?
There is no known exploitation of CVE-2021-40711 in the wild and no public exploit code.
Other vulnerabilities in Adobe Experience Manager
- CVE-2026-90532 Adobe Experience Manager | Incorrect Authorization (CWE-863)
- CVE-2026-105895 Adobe Experience Manager | Improper Input Validation (CWE-20)
- CVE-2026-19232 Adobe Experience Manager | Incorrect Authorization (CWE-863)
- CVE-2025-49533 Adobe Experience Manager (MS) | Deserialization of Untrusted Data (CWE-502)
- CVE-2021-40722 AEM Forms Improper Restriction of XML External Entity Reference
Sources
Also known as GHSA-xh8q-wvvw-q9w3.