{"schemaVersion":3,"id":"CVE-2024-46976","aliases":["GHSA-5j94-f3mf-8685"],"status":"published","duplicateOf":null,"title":null,"description":"Backstage is an open framework for building developer portals. An attacker with control of the contents of the TechDocs storage buckets is able to inject executable scripts in the TechDocs content that will be executed in the victim's browser when browsing documentation or navigating to an attacker provided link. This has been fixed in the 1.10.13 release of the `@backstage/plugin-techdocs-backend` package. users are advised to upgrade. There are no known workarounds for this vulnerability.","dates":{"published":"2024-09-17T20:12:35.332Z","modified":"2024-09-18T13:47:17.911Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"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:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","exploitability":5.9,"impact":6.2,"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.00287,"percentile":0.19982,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00287},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00287,"percentile":0.19982}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00287,"percentile":0.19982}]},"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-693","name":"Protection Mechanism Failure","description":"The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.","type":"weakness","status":"Draft","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/693.html"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","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"}],"affected":[{"vendor":"backstage","product":"backstage","name":"backstage","label":"backstage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.10.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.13","eol":null,"hubHref":"/vendor/backstage/backstage"},{"vendor":"linuxfoundation","product":"backstage","name":"backstage","label":"backstage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.10.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.13","eol":null,"hubHref":"/vendor/linuxfoundation/backstage"},{"vendor":"@backstage","product":"plugin-techdocs-backend","name":"@backstage/plugin-techdocs-backend","label":"plugin-techdocs-backend","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@backstage/plugin-techdocs-backend","purlType":"npm","versions":[{"text":"< 1.10.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.13","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-5j94-f3mf-8685","label":"github.com/backstage/backstage/security/advisories/GHSA-5j94-f3mf-8685","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46976","label":"nvd.nist.gov/vuln/detail/CVE-2024-46976","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":"2024-09-17T20:12:35.332Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-18T13:47:17.911Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:14:59.421Z","stale":false,"partial":false}}