CVE-2020-5219Peerigon Angular-expressions
High 8.8 No auth needed
Follow: this CVE · Peerigon · Peerigon Angular-expressions We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Jan 24, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Angular-expressions.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | angular-expressions |
< 1.0.1 |
1.0.1 |
npm install angular-expressions@1.0.1 |
Per OSV / GitHub Advisories (GHSA-hxhm-96pp-2m43). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| peerigon | angular-expressions | < 1.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- blog.angularjs.org Vendor Advisory
- github.com Patch
- github.com Mitigation Third Party Advisory