Skip to content

CVE-2020-5219 Remote Code Execution in Angular Expressions

HighCVSS 8.8 EPSS 2.4%
Published
Updated
Exploit status
No public exploit known

Description

Angular Expressions before version 1.0.1 has a remote code execution vulnerability if you call expressions.compile(userControlledInput) where userControlledInput is text that comes from user input. If running angular-expressions in the browser, an attacker could run any browser script when the application code calls expressions.compile(userControlledInput). If running angular-expressions on the server, an attacker could run any Javascript expression, thus gaining Remote Code Execution.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm angular-expressions(npm) < 1.0.1 1.0.1 Fixed
peerigon angular-expressions < 1.0.1; = < 1.0.1 1.0.1 Fixed

Affected products

ProductAffected versionsFixed in
npm angular-expressions(npm) < 1.0.1 1.0.1
peerigon angular-expressions < 1.0.1 1.0.1
peerigon angular-expressions = < 1.0.1 No fix listed

References