Backstage
Backstage: Improper input validation in TechDocs Markdown extension configuration
Backstage is an open framework for building developer portals. Prior to 1.14.6 and 1.15.4, the @backstage/plugin-techdocs-node package did not sufficiently validate TechDocs Markdown extension configuration. An authenticated user who can register or modify documentation sources may cause a TechDocs build to access resources outside the intended documentation boundary, potentially exposing backend-host data or internal network resources. This issue is fixed in versions 1.14.6 and 1.15.4 when pymdown-extensions 10.21.3 or later is also used, normally through mkdocs-techdocs-core 1.7.0 or later.
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/017ace52…
- Patch github.com/backstage/backstage/commit/2d9de4ca…
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.