Type Confusion Affecting @babel/plugin-transform-modules-systemjs package, versions >=7.12.0 <7.29.4>=8.0.0-alpha.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Type Confusion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BABELPLUGINTRANSFORMMODULESSYSTEMJS-16624576
  • published10 May 2026
  • disclosed8 May 2026
  • creditDaniel Cervera

Introduced: 8 May 2026

NewCVE-2026-44728  (opens in a new tab)
CWE-843  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Type Confusion in code compilation. An attacker can execute arbitrary code by providing malicious input.

Notes: This is only exploitable if the system compiles untrusted or attacker-controlled code.

Workaround

This vulnerability can be mitigated by pinning @babel/parser to version 7.11.5 or by avoiding the use of the modules: "systemjs" option when used through @babel/preset-env.

CVSS Base Scores

version 4.0
version 3.1