CVE-2020-5219
HIGH 8.8CVSS 3.1Remote Code Execution in Angular Expressions
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.
- Published
- 24 Jan 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-hxhm-96pp-2m43
- Sources
- NVDJSONOSV GHSA-hxhm-96pp-2m43JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | peerigon | angular-expressionscpe:2.3:a:peerigon:angular-expressions:*:*:*:*:*:node.js:*:* |
< 1.0.1 | 1.0.1 |
| OSV | npm | angular-expressions | < 1.0.1 | 1.0.1 |
References
- http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html · Vendor Advisory, WEB
- https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667 · Patch, WEB
- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43 · Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5219 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Jan 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jan 2020)