{"schemaVersion":4,"id":"CVE-2023-25571","aliases":["GHSA-7hv8-3fr9-j2hv"],"status":"published","duplicateOf":null,"title":"Backstage has XSS Vulnerability in Software Catalog","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.","dates":{"published":"2023-02-14T17:00:19.154Z","modified":"2025-03-10T21:12:13.788Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","exploitability":5.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00466,"percentile":0.42023,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.01299999999999999,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00453},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00466,"percentile":0.42023}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00466,"percentile":0.42023}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-84","name":"Improper Neutralization of Encoded URI Schemes in a Web Page","description":"The web application improperly neutralizes user-controlled input for executable script disguised with URI encodings.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/84.html"}],"affected":[{"vendor":"backstage","product":"backstage","name":"backstage","label":"backstage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.0","endInclusive":false}},{"text":"< 0.12.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.12.4","endInclusive":false}},{"text":"< 1.7.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.7.2","endInclusive":false}}],"versionsText":"< 1.2.0 | < 0.12.4 | < 1.7.2","eol":null,"hubHref":"/vendor/backstage/backstage"},{"vendor":"linuxfoundation","product":"backstage_catalog-model","name":"backstage catalog-model","label":"backstage_catalog-model","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.0","endInclusive":false}}],"versionsText":"< 1.2.0","eol":null,"hubHref":"/vendor/linuxfoundation/backstage_catalog-model"},{"vendor":"linuxfoundation","product":"backstage_core-components","name":"backstage core-components","label":"backstage_core-components","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.12.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.12.4","endInclusive":false}}],"versionsText":"< 0.12.4","eol":null,"hubHref":"/vendor/linuxfoundation/backstage_core-components"},{"vendor":"linuxfoundation","product":"backstage_plugin-catalog-backend","name":"backstage plugin-catalog-backend","label":"backstage_plugin-catalog-backend","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.7.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.7.2","endInclusive":false}}],"versionsText":"< 1.7.2","eol":null,"hubHref":"/vendor/linuxfoundation/backstage_plugin-catalog-backend"},{"vendor":"@backstage","product":"catalog-model","name":"@backstage/catalog-model","label":"catalog-model","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@backstage/catalog-model","purlType":"npm","versions":[{"text":"< 1.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.0","endInclusive":false}}],"versionsText":"< 1.2.0","eol":null,"hubHref":null},{"vendor":"@backstage","product":"core-components","name":"@backstage/core-components","label":"core-components","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@backstage/core-components","purlType":"npm","versions":[{"text":"< 0.12.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.12.4","endInclusive":false}}],"versionsText":"< 0.12.4","eol":null,"hubHref":null},{"vendor":"@backstage","product":"plugin-catalog-backend","name":"@backstage/plugin-catalog-backend","label":"plugin-catalog-backend","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@backstage/plugin-catalog-backend","purlType":"npm","versions":[{"text":"< 1.7.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.7.2","endInclusive":false}}],"versionsText":"< 1.7.2","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-7hv8-3fr9-j2hv","label":"github.com/backstage/backstage/security/advisories/GHSA-7hv8-3fr9-j2hv","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/backstage/backstage/commit/3d1371954512f7fa8bd0e2d357e00eada2c3e8a8","label":"github.com/backstage/backstage/commit/3d1371954512f7fa8bd0e2d357e00eada2c3e8a8","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25571","label":"nvd.nist.gov/vuln/detail/CVE-2023-25571","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/backstage/backstage","label":"github.com/backstage/backstage","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-14T17:00:19.154Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:12:13.788Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,68],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00466,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-03-10T21:12:13.788Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2025-03-10T21:12:13.788Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-03-10T21:12:13.788Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-03-10T20:57:44.844Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00466,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:56:45.751Z","stale":false,"partial":false}}