CVE-2021-32661: backstage Command Injection
Vulnerability summary
CVE-2021-32661 is a high (CVSS 7.3) Command Injection vulnerability in backstage. EPSS estimates a 1.21% chance of exploitation in the next 30 days, higher than 68% of scored vulnerabilities.
Timeline
- 03-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Backstage is an open platform for building developer portals. In versions of Backstage's Techdocs Plugin (`@backstage/plugin-techdocs`) prior to 0.9.5, a malicious internal actor can potentially upload documentation content with malicious scripts by embedding the script within an `object` element. This may give access to sensitive data when other users visit that same documentation page. 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.9.5` release of `@backstage/plugin-techdocs`.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA6.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · NpmEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.21%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
0.00 pp
From 1.21% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Affected systems
@backstage1 product
- plugin-techdocs< 0.9.5
Backstage1 product
- backstage< 0.9.5
Linuxfoundation1 product
- \@backstage\/plugin-techdocs< 0.9.5
3 vendors · 3 products
References
4 links- github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5cX Refsource MISCWEBPatchThird Party Advisory
- github.com/backstage/backstage/releases/tag/release-2021-06-03X Refsource MISCWEBThird Party Advisory
- github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89fX Refsource CONFIRMWEBThird Party Advisory