{"cve":"CVE-2021-32660","nvd":{"published":"2021-06-03T17:15:10.583","modified":"2026-06-17T03:53:22.133","status":"Modified","description":"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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-434","CWE-77"],"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-pwhf-39xg-4rxw","https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c","https://github.com/backstage/backstage/releases/tag/release-2021-06-03"],"products":["linuxfoundation:\\@backstage\\/techdocs-common"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-32660","score":0.01269,"percentile":0.69802,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pwhf-39xg-4rxw","url":"https://osv.dev/vulnerability/GHSA-pwhf-39xg-4rxw","summary":"Script injection","modified":"2026-07-08T06:52:57.000220949Z","packages":[{"ecosystem":"npm","name":"@backstage/techdocs-common","purl":"pkg:npm/%40backstage/techdocs-common","ranges":["<0.6.4"],"fixed":["0.6.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}