CVE-2021-32660
HIGH 8.1CVSS 3.1Script injection
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.
- Published
- 3 Jun 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-434CWE-77
- Also known as
- GHSA-pwhf-39xg-4rxw
- Sources
- NVDJSONOSV GHSA-pwhf-39xg-4rxwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | @backstage/techdocs-commoncpe:2.3:a:linuxfoundation:\@backstage\/techdocs-common:*:*:*:*:*:node.js:*:* |
< 0.6.4 | 0.6.4 |
| OSV | npm | @backstage/techdocs-common | < 0.6.4 | 0.6.4 |
References
- https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c · Patch, Third Party Advisory, WEB
- https://github.com/backstage/backstage/releases/tag/release-2021-06-03 · Patch, Third Party Advisory, WEB
- https://github.com/backstage/backstage/security/advisories/GHSA-pwhf-39xg-4rxw · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32660 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Jun 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Jun 2021)