# CVE-2021-43776: XSS vulnerability in @backstage/plugin-auth-backend

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2021-11-26T18:15:10.000Z
- Modified: 2026-06-17T04:11:23.687Z
- Also known as: GHSA-w7fj-336r-vw49
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

Backstage is an open platform for building developer portals. In affected versions the auth-backend plugin allows a malicious actor to trick another user into visiting a vulnerable URL that executes an XSS attack. This attack can potentially allow the attacker to exfiltrate access tokens or other secrets from the user's browser. The default CSP does prevent this attack, but it is expected that some deployments have these policies disabled due to incompatibilities. This is vulnerability is patched in version `0.4.9` of `@backstage/plugin-auth-backend`.

(As written by CVE List.)

## Affected

- backstage backstage: < 0.4.9
- @backstage/plugin-auth-backend (npm): before 0.4.9
- linuxfoundation auth_backend: before 0.4.9

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/backstage/backstage/security/advisories/GHSA-w7fj-336r-vw49> (third-party-advisory, web)
- <https://github.com/backstage/backstage/tree/master/plugins/auth-backend> (product, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43776> (advisory)
- <https://github.com/backstage/backstage> (package)

## Sources

- CVE List: [CVE-2021-43776](https://www.cve.org/CVERecord?id=CVE-2021-43776), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-w7fj-336r-vw49](https://github.com/advisories/GHSA-w7fj-336r-vw49), CC-BY-4.0, modified 2026-05-04
- NVD: [CVE-2021-43776](https://nvd.nist.gov/vuln/detail/CVE-2021-43776), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43776 · Whole record: https://cve.day/CVE-2021-43776.json · Rebuilt by cve.day 2026-11-25T22:24:36.108Z
