Improper Encoding or Escaping of Output Affecting org.webjars.npm:open package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.45% (74th 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 IDSNYK-JAVA-ORGWEBJARSNPM-22112124
  • published1 Nov 2026
  • disclosed29 Oct 2026
  • creditEilon Cohen

Introduced: 29 Oct 2026

NewCVE-2026-119025  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.webjars.npm:open is a cross platform package that opens stuff like URLs, files, executables.

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the baseOpen function in index.js, which assembles a PowerShell Start-Process invocation by wrapping each argument as "`"${argument}`"" without escaping a double quote inside the value, and passes the target through with $ intact so PowerShell expands it as a variable reference. An attacker who controls the target or an entry in options.app.arguments can change the command PowerShell receives, either dropping text where a $name segment is expanded away or terminating the surrounding quoting with a ", which makes the call fail with no error surfaced to the caller. Reaching either case requires the calling application to pass a target or argument value that the attacker influences.

Note: This applies only where the PowerShell path is taken, meaning Windows, or WSL, where the target is first converted with convertWslPathToWindows and then handed to the same invocation. Callers on other platforms do not reach this assembly.

CVSS Base Scores

version 4.0
version 3.1