TechDocs content sanitization bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
Backstage is an open platform for building developer portals, and techdocs-common contains common functionalities for Backstage's TechDocs. In versions of `@backstage/tehdocs-common` prior to 0.6.4, a malicious internal actor is able to upload documentation content with malicious scripts. These scripts would normally be sanitized by the TechDocs frontend, but by tricking a user to visit the content via the TechDocs API, the content sanitazion will be bypassed. If the TechDocs API is hosted on the same origin as the Backstage app or other backend plugins, this may give access to sensitive data. 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.6.4` release of `@backstage/techdocs-common`.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | backstage | before 0.6.4 | 0.6.4 | Patch available | CNA |
| — | @backstage/techdocs-common (npm) | before 0.6.4 | 0.6.4 | Patch available | GHSA-pwhf-39xg-4rxw |
- backstage Vendorbackstage Affected before 0.6.4 Fixed in 0.6.4 Patch available CNA
- @backstage/techdocs-common (npm) Vendor— Affected before 0.6.4 Fixed in 0.6.4 Patch available GHSA-pwhf-39xg-4rxw
Remediation
- Fix · CNA backstage (backstage) Fixed in 0.6.4
- Fix · GHSA-pwhf-39xg-4rxw @backstage/techdocs-common (npm) Fixed in 0.6.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32660
- 2026-10-03 Alias added: GHSA-pwhf-39xg-4rxw
References
Sources
- CVE-2021-32660 · CVE Program
- CVE-2021-32660 · NVD
- FIRST EPSS
- GHSA-pwhf-39xg-4rxw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences