CVE-2020-5219 json
Remote Code Execution in Angular Expressions
published 2020-01-24 6 y ago modified 2026-09-10 1 mo ago also GHSA-hxhm-96pp-2m43 , EUVD-2020-0267
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm angular-expressions 1.0.1
- peerigon angular-expressions 1.0.1
Exploit prediction
2.39% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | angular-expressions | <1.0.1 |
1.0.1 |
Affected products
- peerigon angular-expressions
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667
web, patch
-
blog.angularjs.org
/2016/09/angular-16-expression-sandbox-removal.html
web, vendor-advisory
-
github.com
/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43
web, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5219
advisory
Sources
- CVE List CVE-2020-5219
- GitHub Advisory GHSA-hxhm-96pp-2m43
- NVD CVE-2020-5219
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.