CVE-2020-5219

high

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.

References

https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43

https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667

http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html

Details

Source: Mitre, NVD

Published: 2020-01-24

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00716