CVE-2024-46976 Circumvention of cross site scripting Protection in @backstage/plugin-techdocs-backend
Attackers with storage bucket access can inject scripts into TechDocs content, executing them in victims' browsers via Backstage developer portals.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-46976?
CVE-2024-46976 is a medium-severity cross-site scripting vulnerability in Linuxfoundation Backstage, published on 17 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Backstage is an open framework for building developer portals. An attacker with control of the contents of the TechDocs storage buckets is able to inject executable scripts in the TechDocs content that will be executed in the victim's browser when browsing documentation or navigating to an attacker provided link. This has been fixed in the 1.10.13 release of the `@backstage/plugin-techdocs-backend` package. users are advised to upgrade. There are no known workarounds for this vulnerability.
Which versions are affected by CVE-2024-46976?
2 open source packages ship an affected version, including @backstage/plugin-techdocs-backend. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@backstage/plugin-techdocs-backend npm | All versions | 1.10.13 |
@backstage/plugin-techdocs-backend npm | All versions | 1.10.13 |
Products include Linuxfoundation Backstage.
How do I fix CVE-2024-46976?
Upgrade @backstage/plugin-techdocs-backend to 1.10.13 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-46976 being exploited?
There is no known exploitation of CVE-2024-46976 in the wild and no public exploit code.
Other vulnerabilities in Linuxfoundation Backstage
- CVE-2026-106501 Backstage: Sensitive information exposure in Scaffolder
- CVE-2026-106558 Backstage: Improper validation of TechDocs MkDocs configuration
- CVE-2026-88064 Backstage: Improper input validation in TechDocs MkDocs configuration
- CVE-2026-106459 Backstage: Improper input validation in Sentry scaffolder actions
- CVE-2026-106486 Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions
Sources
Also known as GHSA-5j94-f3mf-8685.