Arbitrary Code Injection Affecting org.webjars.npm:typeorm package, versions [,0.3.31)[1.0.0,1.1.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
0.23% (15th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-18170277
  • published10 Aug 2026
  • disclosed21 Jul 2026
  • creditShaun Smith

Introduced: 21 Jul 2026

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

How to fix?

Upgrade org.webjars.npm:typeorm to version 0.3.31, 1.1.0 or higher.

Overview

org.webjars.npm:typeorm is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8).

Affected versions of this package are vulnerable to Arbitrary Code Injection in the migration:generate. An attacker can execute arbitrary JavaScript code on the host system by injecting specially crafted schema metadata, such as column comments or default values containing ${...} expressions, which are then embedded unescaped into generated migration files and evaluated when the migration is loaded.

CVSS Base Scores

version 4.0
version 3.1