Vulnerability · Published Jun 3, 2021 · Assigned by GitHub_M

CVE-2021-32661TechDocs object element script injection

Medium 6.8

In plain English

A medium-severity command injection in backstage from backstage. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)1.2%top 31.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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`.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@backstage/plugin-techdocs0.9.5GHSA-gg96-f8wr-p89f

Affected products (as reported)

VendorProductVersions
backstage backstage < 0.9.5

Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

References