What’s Vulnerable › Vulnerabilities
CVE-2021-32661: TechDocs object element script injection
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-03 · updated 2026-06-17
- Weakness: CWE-77
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`.
Affected products
- Linuxfoundation @Backstage/Plugin-Techdocs: before 0.9.5 — fixed in 0.9.5
How to fix
Upgrade to a fixed version: Linuxfoundation @Backstage/Plugin-Techdocs 0.9.5. Check the vendor advisory for mitigations.
References
- https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c
- https://github.com/backstage/backstage/releases/tag/release-2021-06-03
- https://github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89f
- https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c
- https://github.com/backstage/backstage/releases/tag/release-2021-06-03
- https://github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89f
Get alerted when CVE-2021-32661 or the next vulnerability affects your stack