Quick answers
- Is CVE-2021-32661 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-32661 being exploited in the wild.
- How severe is CVE-2021-32661?
- Low severity, with a CVSS score of 3.1, published 4 June 2021.
- Which products and versions are affected?
- Backstage TechDocs before 0.9.5; @backstage/plugin-techdocs (npm) SEMVER:introduced=0,fixed=0.9.5.
- Is there a fix for CVE-2021-32661?
- Yes. @backstage/plugin-techdocs (npm): upgrade to 0.9.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-32661 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-32661?
- Check whether you run Backstage TechDocs or @backstage/plugin-techdocs (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @backstage/plugin-techdocs (npm): upgrade to 0.9.5 or later
npm install @backstage/plugin-techdocs@0.9.5
Technical details
The vulnerability is a script injection flaw in the TechDocs plugin that fails to sanitize object elements in documentation content. An attacker with upload privileges (either through code review bypass or direct object store access) can embed malicious scripts within object elements that execute in the context of other users' browsers when they view the documentation. The attack requires a malicious internal actor and user interaction (visiting the affected documentation page). The vulnerability is patched in version 0.9.5 of @backstage/plugin-techdocs.
Affected products
- Backstage TechDocs before 0.9.5
Identifiers
- CVE-2021-32661
- GHSA-gg96-f8wr-p89f
Timeline
- 2021-06-03: disclosed
- 2021-06-04: patched: version 0.9.5 released