Critical AEM bugs allow dispatcher bypass, SSRF, XXE and remote code execution
AEM instances are vulnerable to dispatcher bypasses that enable SSRF, XXE, XSS, and arbitrary code execution even on patched versions
Security & privacy Assetnote / Searchlight 14 Oct 2025 Disclosure Real-world evidence
Published as “Critical Bugs in Adobe Experience Manager: CVE-2025-54246 to CVE-2025-54252”
Why it matters
These bugs give attackers unauthenticated access to internal AEM functionality, enabling data exfiltration, configuration leakage, and potential code execution across many enterprise sites.
Summary
The researchers reverse-engineered the Adobe dispatcher and Apache Sling routing to find several ways to bypass the dispatcher, including abusing Apache's nocanon flag and path-parameter parsing differences. They discovered unauthenticated SSRF in AccessTokenServlet, an XXE flaw in the privileges.xml parser, and an EL injection that can dump OSGi configuration and execute arbitrary resources. A tool called hopgoblin automates these checks and has identified vulnerable AEM instances on public bug-bounty programs. The evidence includes real-world PoCs and disclosed CVEs, though some techniques are limited by rate-limits or patched configurations.
What they found 2
- AccessTokenServlet performs unauthenticated SSRF by fetching a URL supplied in a POST parameter
“The doPost method took a URL from the query parameters, issued a request to the specified URL and returned the response in full.”
- privileges.xml parsing uses a DocumentBuilderFactory without entity-expansion protection, leading to XXE
“Did you see that? This particular document builder factory does not set any of the entity expansion protection flags, so it is vulnerable to XXE!”
Caveats 4
- The authors note that some dispatcher bypasses have been patched in newer AEM releases
- The cloudsettings upload technique can only be used three times per day per target due to cleanup intervals
- The cloudsettings upload method is rate-limited (max three uses per day per target)
- Bypasses relying on specific dispatcher rules may not work if those rules have been hardened
What’s new here 4
- Dispatcher bypass using Apache's nocanon option to reach hidden endpoints
- Exploitation of a pre-auth SSRF in AccessTokenServlet
- Discovery of an XXE vulnerability in the privileges.xml parser
- EL injection that enumerates OSGi bundle properties and enables XSS