# CVE-2021-32661: TechDocs object element script injection

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H`
- 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): 1.21%, higher than 69% of CVEs (2026-12-01)
- Published: 2021-06-03T17:25:10.000Z
- Modified: 2026-07-08T06:53:10.092Z
- Also known as: GHSA-gg96-f8wr-p89f
- Weaknesses: CWE-77, CWE-434
- Assigned by: GitHub_M

## Description

Backstage is an open platform for building developer portals. In versions of Backstage's Techdocs Plugin (`@backstage/plugin-techdocs`) prior to 0.9.5, a malicious internal actor can potentially upload documentation content with malicious scripts by embedding the script within an `object` element. This may give access to sensitive data when other users visit that same documentation page. The ability to upload malicious content may be limited by internal code review processes, unless the chosen TechDocs deployment method is to use an object store and the actor has access to upload files directly to that store. The vulnerability is patched in the `0.9.5` release of `@backstage/plugin-techdocs`.

(As written by CVE List.)

## Affected

- backstage backstage: < 0.9.5
- @backstage/plugin-techdocs (npm): before 0.9.5
- linuxfoundation @backstage/plugin-techdocs: before 0.9.5

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 4.9 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c> (patch, third-party-advisory, web)
- <https://github.com/backstage/backstage/releases/tag/release-2021-06-03> (third-party-advisory, web)
- <https://github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89f> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32661> (advisory)

## Sources

- CVE List: [CVE-2021-32661](https://www.cve.org/CVERecord?id=CVE-2021-32661), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-gg96-f8wr-p89f](https://github.com/advisories/GHSA-gg96-f8wr-p89f), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32661](https://nvd.nist.gov/vuln/detail/CVE-2021-32661), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32661 · Whole record: https://cve.day/CVE-2021-32661.json · Rebuilt by cve.day 2026-11-25T22:58:01.639Z
