{"id":"CVE-2021-43776","aliases":["CVE-2021-43776","GHSA-w7fj-336r-vw49"],"related":[],"kind":"vulnerability","state":"published","title":"XSS vulnerability in @backstage/plugin-auth-backend","summary":"Backstage is an open platform for building developer portals. In affected versions the auth-backend plugin allows a malicious actor to trick another user into visiting a vulnerable URL that executes an XSS attack. This attack can potentially allow the attacker to exfiltrate access tokens or other secrets from the user's browser. The default CSP does prevent this attack, but it is expected that some deployments have these policies disabled due to incompatibilities. This is vulnerability is patched in version `0.4.9` of `@backstage/plugin-auth-backend`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Backstage is an open platform for building developer portals. In affected versions the auth-backend plugin allows a malicious actor to trick another user into visiting a vulnerable URL that executes an XSS attack. This attack can potentially allow the attacker to exfiltrate access tokens or other secrets from the user's browser. The default CSP does prevent this attack, but it is expected that some deployments have these policies disabled due to incompatibilities. This is vulnerability is patched in version `0.4.9` of `@backstage/plugin-auth-backend`.","source":"cvelist"},{"lang":"en","text":"### Impact\nThis vulnerability allows a malicious actor to trick another user into visiting a vulnerable URL that executes an XSS attack. This attack can potentially allow the attacker to exfiltrate access tokens or other secrets from the user's browser. The default CSP does prevent this attack, but it is expected that some deployments have these policies disabled due to incompatibilities.\n\n### Patches\nThis is vulnerability is patched in version `0.4.9` of `@backstage/plugin-auth-backend`.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n* Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Backstage es una plataforma abierta para construir portales para desarrolladores. En las versiones afectadas, el plugin auth-backend permite a un actor malicioso engañar a otro usuario para que visite una URL vulnerable que ejecute un ataque de tipo XSS. Este ataque puede permitir al atacante exfiltrar tokens de acceso u otros secretos del navegador del usuario. El CSP por defecto previene este ataque, pero se espera que algunas implementaciones tengan estas políticas deshabilitadas debido a incompatibilidades. Esta vulnerabilidad está parcheada en la versión \"0.4.9\" de \"@backstage/plugin-auth-backend\"","source":"nvd"}],"published":"2021-11-26T18:15:10.000Z","modified":"2026-06-17T04:11:23.687Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 0.4.9","status":"affected"}],"vendor":"backstage","product":"backstage","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.9"}],"ecosystem":"npm","package":"@backstage/plugin-auth-backend","purl":"pkg:npm/%40backstage/plugin-auth-backend","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.4.9"}],"vendor":"linuxfoundation","product":"auth_backend","cpe":"cpe:2.3:a:linuxfoundation:auth_backend:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-w7fj-336r-vw49","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/tree/master/plugins/auth-backend","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43776","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/backstage/backstage","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43776","url":"https://www.cve.org/CVERecord?id=CVE-2021-43776","licence":"CVE Terms of Use","modified":"2024-08-04T04:03:08.688Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w7fj-336r-vw49","url":"https://github.com/advisories/GHSA-w7fj-336r-vw49","licence":"CC-BY-4.0","modified":"2026-05-04T08:46:12.123Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43776","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43776","licence":"Public domain","modified":"2026-06-17T04:11:23.687Z"}],"updatedAt":"2026-11-25T22:24:36.108Z","epss":{"score":0.00678,"percentile":0.53577,"date":"2026-12-01T12:00:22.000Z"}}