Skip to content

Cross-Site Scripting vulnerability in @backstage/plugin-auth-backend

High severity GitHub Reviewed Published Nov 26, 2021 in backstage/backstage • Updated Feb 1, 2023

Package

npm @backstage/plugin-auth-backend (npm)

Affected versions

< 0.4.9

Patched versions

0.4.9

Description

Impact

This 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.

Patches

This is vulnerability is patched in version 0.4.9 of @backstage/plugin-auth-backend.

For more information

If you have any questions or comments about this advisory:

References

@jhaals jhaals published to backstage/backstage Nov 26, 2021
Published by the National Vulnerability Database Nov 26, 2021
Reviewed Nov 29, 2021
Published to the GitHub Advisory Database Dec 1, 2021
Last updated Feb 1, 2023

Severity

High
7.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2021-43776

GHSA ID

GHSA-w7fj-336r-vw49

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.