# Reflected Cross-site Scripting (XSS) in ACS Commons

Advisory record · `GHSA-7r83-w6r8-fh6w`

- **Identifiers:** `GHSA-7r83-w6r8-fh6w` · `CVE-2021-21028` · `CVE-2021-21043` · `GHSA-f92j-qf46-p6vm`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html) · [CWE-416](https://cwe.mitre.org/data/definitions/416.html) · [CWE-787](https://cwe.mitre.org/data/definitions/787.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md) · [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Published:** 13 May 2021
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2021, 22:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `com.adobe.acs:acs-aem-commons` (Maven): affected `<4.10.0`; fixed in `4.10.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> ACS Commons (com.adobe.acs:acs-aem-commons) versions before 4.10.0 are affected by a reflected cross-site scripting flaw in version-compare and page-compare, where invalid JCR characters are not handled correctly. An attacker can inject malicious JavaScript into form fields that runs in a victim's browser, but exploitation requires the victim to interact with a crafted link or page. Upgrade to version 4.10.0 or later.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from CNA (adobe)

- **CISA KEV:** Not listed.
- **EPSS:** 0.043, the 91st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:19 UTC: First seen by agentprime
- 31 Oct 2026, 14:19 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7r83-w6r8-fh6w)

## Sources

- [GitHub Advisory Database: GHSA-7r83-w6r8-fh6w](https://github.com/advisories/GHSA-7r83-w6r8-fh6w)
- [OSV: GHSA-7r83-w6r8-fh6w](https://osv.dev/vulnerability/GHSA-7r83-w6r8-fh6w)
- <https://github.com/Adobe-Consulting-Services/acs-aem-commons/security/advisories/GHSA-f92j-qf46-p6vm>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21043>
- <https://github.com/Adobe-Consulting-Services/acs-aem-commons/commit/14d769c86606c4ce9a93c47a19f87e1ad72788d6>
- <https://github.com/Adobe-Consulting-Services/acs-aem-commons>
- <https://helpx.adobe.com/security/products/indesign/apsb21-22.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-7r83-w6r8-fh6w>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7r83-w6r8-fh6w/>. Everything for agents: <https://agentprime.io/llms.txt>.
