CVE-2023-25571: backstage Cross-site Scripting
Vulnerability summary
CVE-2023-25571 is a medium (CVSS 6.8) Cross-site Scripting vulnerability in backstage. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.9% of scored vulnerabilities.
Timeline
- 14-02-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
0.00 pp
From 0.45% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-84Improper Neutralization of Encoded URI Schemes in a Web PageThe web application improperly neutralizes user-controlled input for executable script disguised with URI encodings.
Affected systems
@backstage3 products
- catalog-model< 1.2.0
- core-components< 0.12.4
- plugin-catalog-backend< 1.7.2
Linuxfoundation3 products
- backstage_catalog-model< 1.2.0
- backstage_core-components< 0.12.4
- backstage_plugin-catalog-backend< 1.7.2
Backstage1 product
- backstage< 1.2.0 | < 0.12.4 | < 1.7.2
3 vendors · 7 products
References
4 links- github.com/backstage/backstage/security/advisories/GHSA-7hv8-3fr9-j2hvX Refsource CONFIRMWEBVendor Advisory
- github.com/backstage/backstage/commit/3d1371954512f7fa8bd0e2d357e00eada2c3e8a8X Refsource MISCWEBPatch