Medium

Cross site scripting Vulnerability in backstage Software Catalog

  • Disclosed: 14.02.2023
  • Updated: 11.10.2026 10:22

Impact

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.

Patches

This vulnerability has been patched in both the frontend and backend implementations. The default Link component from @backstage/core-components will now reject javascript: URLs, and there is a global override of window.open to do the same.

In addition the catalog model as well as the catalog backend now has additional validation built in that prevents javascript: URLs in known annotations.

Workarounds

The general practice of limiting access to modifying catalog content and requiring code reviews greatly helps mitigate this vulnerability.

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @backstage/catalog-model < 1.2.0 1.2.0
npm package @backstage/core-components < 0.12.4 0.12.4
npm package @backstage/plugin-catalog-backend < 1.7.2 1.7.2

References

CVSS score 6.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Weakness (CWE)
CWE-79
Platform
npm
Package
@backstage/catalog-model, @backstage/core-components, @backstage/plugin-catalog-backend
Disclosed
14.02.2023
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7hv8-3fr9-j2hv - CC BY 4.0

Vulnerability history: @backstage/catalog-model

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.