Read the docs
TI-2021-12328 Aliases CVE-2021-32660GHSA-pwhf-39xg-4rxw

TechDocs content sanitization bypass

Priority LOW 38CWE-77Published · Updated

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

EPSS 0.01269 69th percentileScored 2026-11-07
Fix Fixed backstage (backstage): 0.6.4@backstage/techdocs-common (npm): 0.6.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
backstagebackstagebefore 0.6.40.6.4Patch availableCNA
—@backstage/techdocs-common (npm)before 0.6.40.6.4Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:\@backstage\/techdocs-common:*:*:*:*:*:node.js:*:*before 0.6.4Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:\@backstage\/techdocs-common:*:*:*:*:*:node.js:*:* Versions before 0.6.4 Vulnerable ·backstage

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

  1. 2026-10-02 Threatist record created from CVE-2021-32660
  2. 2026-10-03 Alias added: GHSA-pwhf-39xg-4rxw

References

Sources