{"id":"CVE-2023-25571","published":"2023-02-14T17:00:19Z","modified":"2025-03-10T21:12:13Z","title":"Backstage has XSS Vulnerability in Software Catalog","vendor":"backstage","product":"backstage","tier":"tail","description":{"text":"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.\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00453,"percentile":0.40239,"provenance":"source"},"cwes":[{"id":"CWE-84","name":"Improper Neutralization of Encoded URI Schemes in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-7hv8-3fr9-j2hv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/3d1371954512f7fa8bd0e2d357e00eada2c3e8a8","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.05},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["< 1.2.0","< 0.12.4","< 1.7.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:57:44.844140Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/core-components","vulnerableRanges":["<0.12.4"],"patched":["0.12.4"],"from":["GHSA-7hv8-3fr9-j2hv"],"provenance":"source"},{"ecosystem":"npm","package":"@backstage/catalog-model","vulnerableRanges":["<1.2.0"],"patched":["1.2.0"],"from":["GHSA-7hv8-3fr9-j2hv"],"provenance":"source"},{"ecosystem":"npm","package":"@backstage/plugin-catalog-backend","vulnerableRanges":["<1.7.2"],"patched":["1.7.2"],"from":["GHSA-7hv8-3fr9-j2hv"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in Backstage's software catalog, affecting the @backstage/catalog-model, @backstage/core-components, and @backstage/plugin-catalog-backend packages before versions 1.2.0, 0.12.4, and 1.7.2 respectively, lets entity content inject javascript: URLs into the catalog. An attacker who has permission to add or modify catalog content can exploit this when another user clicks the injected link, which requires user interaction and low privileges on the attacker's side.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:52Z"},"euvd":{"id":"EUVD-2023-0654","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-25571","published":"2023-02-14","fixed":"1.7.2","kev":false},{"cve":"CVE-2024-45815","published":"2024-09-17","fixed":"1.26.0","kev":false,"link":{"from":"CVE-2023-25571","to":"CVE-2024-45815","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-catalog-backend","fromFixed":"1.7.2","toFixed":"1.26.0","daysApart":581}]}},{"cve":"CVE-2026-106496","published":"2026-10-06","fixed":"3.9.1","kev":false},{"cve":"CVE-2026-106498","published":"2026-10-06","fixed":"3.9.1","kev":false}],"package":"npm:@backstage/plugin-catalog-backend"}}