{"cve":"CVE-2023-25571","nvd":{"published":"2023-02-14T18:15:13.577","modified":"2026-06-17T05:41:31.027","status":"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.\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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79","CWE-84"],"references":["https://github.com/backstage/backstage/commit/3d1371954512f7fa8bd0e2d357e00eada2c3e8a8","https://github.com/backstage/backstage/security/advisories/GHSA-7hv8-3fr9-j2hv","https://github.com/backstage/backstage/commit/3d1371954512f7fa8bd0e2d357e00eada2c3e8a8","https://github.com/backstage/backstage/security/advisories/GHSA-7hv8-3fr9-j2hv"],"products":["linuxfoundation:backstage_catalog-model","linuxfoundation:backstage_core-components","linuxfoundation:backstage_plugin-catalog-backend"],"source":"nvd","synced_at":"2026-10-19T21:37:38.595364862+00:00"},"epss":{"cve":"CVE-2023-25571","score":0.00453,"percentile":0.39378,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7hv8-3fr9-j2hv","url":"https://osv.dev/vulnerability/GHSA-7hv8-3fr9-j2hv","summary":"Cross site scripting Vulnerability in backstage Software Catalog","modified":"2026-09-10T03:49:56.731928688Z","packages":[{"ecosystem":"npm","name":"@backstage/core-components","purl":"pkg:npm/%40backstage/core-components","ranges":["<0.12.4"],"fixed":["0.12.4"]},{"ecosystem":"npm","name":"@backstage/catalog-model","purl":"pkg:npm/%40backstage/catalog-model","ranges":["<1.2.0"],"fixed":["1.2.0"]},{"ecosystem":"npm","name":"@backstage/plugin-catalog-backend","purl":"pkg:npm/%40backstage/plugin-catalog-backend","ranges":["<1.7.2"],"fixed":["1.7.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}