CVE-2023-25571
Backstage has XSS Vulnerability in Software Catalog
Also known as GHSA-7hv8-3fr9-j2hv
Mitigation
- Upgrade @backstage/core-components to 0.12.4 or later.
- Upgrade @backstage/catalog-model to 1.2.0 or later.
- Upgrade @backstage/plugin-catalog-backend to 1.7.2 or later.
Who should check
- Projects that depend on npm package @backstage/core-components (< 0.12.4)
- Projects that depend on npm package @backstage/catalog-model (< 1.2.0)
- Projects that depend on npm package @backstage/plugin-catalog-backend (< 1.7.2)
- Anyone running backstage < 1.2.0; < 0.12.4; < 1.7.2
Vulnerability facts
- Affected
- @backstage/core-components < 0.12.4; @backstage/catalog-model < 1.2.0; @backstage/plugin-catalog-backend < 1.7.2
- Fixed in
- 0.12.4, 1.2.0, 1.7.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-84, CWE-79
- Modified
Description
Backstage is an open platform for building developer portals. `@backstage/catalog-model` prior to version 1.2.0, `@backstage/core-components` prior to 0.12.4, and `@backstage/plugin-catalog-backend` prior to 1.7.2 are affected by a cross-site scripting vulnerability. This vulnerability allows a malicious actor with access to add or modify content in an instance of the Backstage software catalog to inject script URLs in the entities stored in the catalog. If users of the catalog then click on said URLs, that can lead to an XSS attack. This vulnerability has been patched in both the frontend and backend implementations. The default `Link` component from `@backstage/core-components` version 1.2.0 and greater will now reject `javascript:` URLs, and there is a global override of `window.open` to do the same. In addition, the catalog model v0.12.4 and greater as well as the catalog backend v1.7.2 and greater now has additional validation built in that prevents `javascript:` URLs in known annotations. As a workaround, the general practice of limiting access to modifying catalog content and requiring code reviews greatly help mitigate this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @backstage/core-components | < 0.12.4 | 0.12.4 | osv |
| npm @backstage/catalog-model | < 1.2.0 | 1.2.0 | osv |
| npm @backstage/plugin-catalog-backend | < 1.7.2 | 1.7.2 | osv |
| backstage | < 1.2.0; < 0.12.4; < 1.7.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-25571. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-25571.md Affected: @backstage/core-components < 0.12.4; @backstage/catalog-model < 1.2.0; @backstage/plugin-catalog-backend < 1.7.2 Fixed in: 0.12.4, 1.2.0, 1.7.2 Steps: 1. Search this machine and project for @backstage/core-components (npm), @backstage/catalog-model (npm), @backstage/plugin-catalog-backend (npm), backstage: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-25571 being exploited?
There is no confirmed exploitation: CVE-2023-25571 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-25571?
Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-25571?
@backstage/core-components < 0.12.4; @backstage/catalog-model < 1.2.0; @backstage/plugin-catalog-backend < 1.7.2.
Is there a fix for CVE-2023-25571?
Yes. Fixed in 0.12.4, 1.2.0, 1.7.2. Upgrade @backstage/core-components to 0.12.4 or later. Upgrade @backstage/catalog-model to 1.2.0 or later. Upgrade @backstage/plugin-catalog-backend to 1.7.2 or later.
How do I check if I'm affected by CVE-2023-25571?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.