CVE-2020-5219
Remote Code Execution in Angular Expressions
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.4% · top 16% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.7.
Weakness
Affected products
peerigon · angular-expressions
- affected < 1.0.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmangular-expressionsGHSA-hxhm-96pp-2m43 (opens in a new tab)
References (3)
- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667 (opens in a new tab)x_refsource_MISCx_transferred
- http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hxhm-96pp-2m43 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-5219)Record last updated .