CVE-2021-32660
mediumpriority · track · 32EPSS 0.013 · 70 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.8–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- linuxfoundation @backstage/techdocs-common< 0.6.4nvdUScpe:2.3:a:linuxfoundation:\@backstage\/techdocs-common:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-pwhf-39xg-4rxwScript injection2021-06-04ghsa · osvUS
### Impact 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. ### Patches The vulnerability is patched in the `0.6.4` release of `@backstage/techdocs-common`. ### For more information If you have any questions or comments about this advisory: * Open an issue in the [Backstage repository](https://github.com/backstage/backstage) * Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5ccnnvd
- https://github.com/backstage/backstage/releases/tag/release-2021-06-03cnnvd
- https://github.com/backstage/backstage/security/advisories/GHSA-pwhf-39xg-4rxwcnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021060705cnnvd
- https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5cenisa_euvd
- https://github.com/backstage/backstage/releases/tag/release-2021-06-03enisa_euvd
- https://github.com/backstage/backstage/security/advisories/GHSA-pwhf-39xg-4rxwenisa_euvd
- https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5cPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan