CVE-2020-5219
8.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| peerigon | angular-expressions | < 1.0.1 | affected |
Weaknesses
- CWE-74: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43
- https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667
- http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html
References
- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43
- https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667
- http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.