External Control of File Name or Path Affecting @backstage/plugin-scaffolder-backend-module-confluence-to-markdown package, versions <0.3.25


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BACKSTAGEPLUGINSCAFFOLDERBACKENDMODULECONFLUENCETOMARKDOWN-20826428
  • published11 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-106559  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade @backstage/plugin-scaffolder-backend-module-confluence-to-markdown to version 0.3.25 or higher.

Overview

@backstage/plugin-scaffolder-backend-module-confluence-to-markdown is a The confluence-to-markdown module for @backstage/plugin-scaffolder-backend

Affected versions of this package are vulnerable to External Control of File Name or Path via the getAndWriteAttachments function in helpers.ts, where the downloadTitle value derived from a Confluence attachment name is concatenated directly into a filesystem path without sanitization. An attacker who can control attachment names in a Confluence space can supply a path-traversal sequence (e.g. ../../) as the attachment title, causing files to be written to arbitrary locations on the server outside the intended docs/img directory.

CVSS Base Scores

version 4.0
version 3.1