LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32661: TechDocs object element script injection

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

MediumCVSS 6.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Affected Backstage developer portals could let an internal publisher hide malicious script inside TechDocs content. If coworkers opened that documentation page, the script could access sensitive browser-visible data. The issue mainly matters where documentation publishing or object-store uploads are broadly available. The named fix is upgrading the TechDocs plugin to 0.9.5 or later.

Executive priority

Treat this as a moderate insider or compromised-account risk for Backstage developer portals. Prioritize upgrade if TechDocs is in use, especially where documentation uploads bypass code review or sensitive internal data is visible in the portal.

Technical view

@backstage/plugin-techdocs before 0.9.5 allowed script injection through an object element in uploaded documentation content. The advisory describes a malicious internal actor scenario requiring content upload capability and user interaction. CVSS 3.1 is 6.8 with high potential confidentiality, integrity, and availability impact, but privileged access is required.

Likely exposure

Exposure is limited to Backstage environments using @backstage/plugin-techdocs versions earlier than 0.9.5. Risk is higher where actors can directly upload TechDocs files to object storage or where documentation changes are not reviewed before publication.

Exploitation context

The provided sources do not show active exploitation, and the CVE is not listed as KEV. The advisory frames exploitation as potential abuse by a malicious internal actor. Normal code review may limit abuse unless direct object-store uploads are available.

Researcher notes

The source bundle identifies a patched version and affected component but does not provide evidence of exploitation in the wild. Focus assessment on dependency version, TechDocs publishing paths, object-store permissions, and whether rendered documentation can reach sensitive user or portal data.

Mitigation direction

  • Upgrade @backstage/plugin-techdocs to version 0.9.5 or later.
  • Review the GitHub advisory and 2021-06-03 Backstage release notes.
  • Restrict direct object-store write access for TechDocs content.
  • Require review for TechDocs changes from less-trusted contributors.
  • Audit recently published TechDocs content from users with upload rights.

Validation and detection

  • Inventory Backstage deployments using the TechDocs plugin.
  • Check package manifests and lockfiles for @backstage/plugin-techdocs versions below 0.9.5.
  • Confirm whether TechDocs content can be uploaded directly to object storage.
  • Review documentation publishing workflows for mandatory approval controls.
  • Check access logs for unusual TechDocs publishing or storage-write activity.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-77: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32661 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.8CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H0.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.8Medium
CVSS 3.1 vector shape for CVE-2021-32661Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
backstagebackstage< 0.9.5Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-77 · source CWE mapping

Improper Neutralization of Special Elements used in a Command ('Command Injection')

Improper Neutralization of Special Elements used in a Command ('Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.