Backstage
Backstage: Improper validation of MkDocs theme configuration in TechDocs
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.50.5
- >= 1.51.0-next.0, < 1.54.6
Fixed in 1.50.5, 1.54.6
- < 1.14.6
- >= 1.15.0, < 1.15.4
Fixed in 1.14.6, 1.15.4
Mitigation
Upgrade backstage to 1.50.5 or 1.54.6 or later.
Upgrade plugin-techdocs-node to 1.14.6 or 1.15.4 or later.
References
- Vendor advisory github.com/backstage/backstage/security/adviso…
- Patch github.com/backstage/backstage/commit/02cd7cdb…
- Patch github.com/backstage/backstage/commit/a900a995…
2 more
- Release notes github.com/backstage/backstage/releases/tag/v1…
- Release notes github.com/backstage/backstage/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.