# CVE-2020-5219: Remote Code Execution in Angular Expressions

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.39%, higher than 84% of CVEs (2026-12-01)
- Published: 2020-01-24T15:25:14.000Z
- Modified: 2026-09-10T03:48:42.553Z
- Also known as: GHSA-hxhm-96pp-2m43
- Weaknesses: CWE-74
- 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.

(As written by CVE List.)

## Affected

- peerigon angular-expressions: < 1.0.1; before 1.0.1
- angular-expressions (npm): before 1.0.1

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43> (mitigation, third-party-advisory, web)
- <https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667> (patch, web)
- <http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5219> (advisory)

## Sources

- CVE List: [CVE-2020-5219](https://www.cve.org/CVERecord?id=CVE-2020-5219), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hxhm-96pp-2m43](https://github.com/advisories/GHSA-hxhm-96pp-2m43), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-5219](https://nvd.nist.gov/vuln/detail/CVE-2020-5219), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5219 · Whole record: https://cve.day/CVE-2020-5219.json · Rebuilt by cve.day 2026-11-25T22:57:50.667Z
