CVE-2021-32661
JSON

6.8medium

TechDocs object element script injection

Severity
6.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.21% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-gg96-f8wr-p89f

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

Product or packageVersionsReported by
backstage backstage< 0.9.5CVE List
@backstage/plugin-techdocs (npm)before 0.9.5GitHub Advisory Database
linuxfoundation @backstage/plugin-techdocsbefore 0.9.5NVD

All scores

GitHub_M6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
NVD7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD4.9medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

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

GitHub Advisory Database
Impact

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.

Patches

The vulnerability is patched in the 0.9.5 release of @backstage/plugin-techdocs.

For more information

If you have any questions or comments about this advisory:

NVD (es)

Backstage es una plataforma abierta para construir portales para desarrolladores. En las versiones del plugin Techdocs de Backstage ("@backstage/plugin-techdocs") anteriores a versión 0.9.5, un actor interno malicioso puede potencialmente cargar contenido de documentación con scripts maliciosos insertando el script dentro de un elemento "object". Esto puede dar acceso a datos confidenciales cuando otros usuarios visiten esa misma página de documentación. La capacidad de subir contenido malicioso puede estar limitada por los procesos internos de revisión de código, a menos que el método de despliegue de TechDocs elegido sea usar un almacén de objetos y el actor tenga acceso a subir archivos directamente a ese almacén. La vulnerabilidad está parcheada en la versión "0.9.5" de "@backstage/plugin-techdocs"

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32661 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-gg96-f8wr-p89f changed 2026-07-08CC-BY-4.0
NVDCVE-2021-32661 changed 2026-06-17Public domain