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 package | Versions | Reported by |
|---|---|---|
| backstage backstage | < 0.9.5 | CVE List |
| @backstage/plugin-techdocs (npm) | before 0.9.5 | GitHub Advisory Database |
| linuxfoundation @backstage/plugin-techdocs | before 0.9.5 | NVD |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 4.9medium CVSS:2.0 | AV: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:
- Open an issue in the Backstage repository
- Visit our chat, linked to in Backstage README
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
| https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c | patch, third-party-advisory, web | |
| https://github.com/backstage/backstage/releases/tag/release-2021-06-03 | third-party-advisory, web | |
| https://github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89f | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32661 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32661 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gg96-f8wr-p89f changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-32661 changed 2026-06-17 | Public domain |