Experience ManagerApplication · Adobe

CVE-2021-28628

MEDIUM · 6.1 CVSS v3.1 Published 2021-08-24
Fix available
A fix is available. Upgrade to after 6.5.8.0 or later.
See remediation →
68/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Adobe Experience Manager Cloud Service offering, as well as versions 6.5.8.0 (and below) is affected by a Cross-Site Scripting (XSS) vulnerability that could be abused by an attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Adobe Experience Manager versions 6.5.8.0 and below and Cloud Service contain a stored Cross-Site Scripting (XSS) vulnerability in form fields. Attackers can inject malicious JavaScript payloads into form inputs that execute when other users browse pages containing the compromised fields.

MitigationImplement proper input validation and output encoding on all form fields, and consider deploying a Content Security Policy (CSP) to mitigate XSS execution.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Experience ManagerApplication
Affected:<= 6.5.8.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine installed AEM version
    Access the AEM Welcome page or check the version file in crx-quickstart/conf/org.apache.felix.framework.properties, or run: curl -s https://<host>:4502/libs/granite/core/content/login.html 2>/dev/null | grep -o 'version=[0-9.]*'
    Affected if The installed version is 6.5.8.0 or lower (any version up to and including 6.5.8.0)
  2. Identify custom form components in use
    Review the /apps folder for custom form field components under /apps/<your-project>/components, or search the repository for nodes containing 'form' and 'field' in component paths using CRXDE Lite or the Query tool
    Affected if Custom form components exist that may not have proper input validation implemented
  3. Verify form field input validation
    Inspect the Java or HTL code of custom form components for server-side validation logic. Check if form field models implement jakarta.servlet.jsp.tagext.BodyTagSupport or similar, and review the getValue() methods for encoding or validation
    Affected if Form field components lack server-side input validation or output encoding on submitted values
  4. Check for stored XSS in form data
    Query the AEM repository using CRXDE Lite Query tool or the Groovy console to find form content: select * from nt:base where jcr:path like '/content/%' and contains(*, '<script') or search for common XSS patterns in form input nodes
    Affected if Form content nodes contain unsanitized HTML or script tags in field values
  5. Review dispatcher or WAF logs for XSS injection attempts
    Examine access logs and error logs in /var/log/ or the dispatcher logs for patterns like <script, javascript:, onerror=, onload= in form-related POST requests to endpoints like /bin/cq/form/ or content paths
    Affected if Logs show injection attempts or malicious payloads in form submission parameters

Your AEM instance is affected if it runs version 6.5.8.0 or lower AND uses custom form components without proper input validation, allowing stored XSS payloads to persist in form field data.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 6.5.8.0
Interim mitigation

Implement proper input validation and output encoding on all form fields, and consider deploying a Content Security Policy (CSP) to mitigate XSS execution.

Recommended fix Moderate confidence

AEM 6.5.9.0 or later

  1. 1. Identify current Adobe Experience Manager version by checking the product console or version info
  2. 2. Plan upgrade during a maintenance window to minimize business impact
  3. 3. Review Adobe Experience Manager 6.5 release notes for upgrade requirements and prerequisites
  4. 4. Perform a full backup of the AEM instance including repository, database, and configuration files
  5. 5. Test the upgrade in a non-production environment first
  6. 6. Execute the upgrade to version 6.5.9.0 or later
  7. 7. Verify the upgrade was successful by checking the AEM version in the system console
  8. 8. Validate that all custom applications and integrations function correctly
Caveat Review release notes for potential compatibility issues with custom components or third-party integrations; some configurations may require updates

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Experience Manager Scoped from the published advisory
  • Consultation8.0 h
  • Implementation16.0 h
  • Testing12.0 h
  • Review / QA4.0 h
40.0 hours of engineering $7,000
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,200.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-28628 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-28628 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data