What’s Vulnerable › Vulnerabilities
CVE-2020-5219: Remote Code Execution in Angular Expressions
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-01-24 · updated 2026-06-17
- Weakness: CWE-74
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.
Affected products
- peerigon angular-expressions: before 1.0.1 — fixed in 1.0.1
How to fix
Upgrade to a fixed version: peerigon angular-expressions 1.0.1. Check the vendor advisory for mitigations.
References
- http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html
- https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667
- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43
- http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html
- https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667
- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43
Get alerted when CVE-2020-5219 or the next vulnerability affects your stack