Description
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by improper validation of mkdocs theme configuration in techdocs. When TechDocs is configured to build documentation locally or in a container, a user with write access to a registered repository can include configuration values in mkdocs.yml that cause arbitrary code execution during the documentation build process. This issue is fixed in versions 1.14.6 and 1.15.4.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
backstage backstage
< 1.50.5affected>= 1.51.0-next.0, < 1.54.6affected
@backstage plugin-techdocs-node
< 1.14.6affected>= 1.15.0, < 1.15.4affected
References
- https://github.com/backstage/backstage/security/advisories/GHSA-8w7q-29mw-gf5c ↗
- https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb ↗
- https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d ↗
- https://github.com/backstage/backstage/releases/tag/v1.50.5 ↗
- https://github.com/backstage/backstage/releases/tag/v1.54.6 ↗