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.
References
Configurations
History
21 Nov 2024, 05:33
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 8.7 |
References | () http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html - Vendor Advisory | |
References | () https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667 - Patch | |
References | () https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43 - Mitigation, Third Party Advisory |
Information
Published : 2020-01-24 16:15
Updated : 2024-11-21 05:33
NVD link : CVE-2020-5219
Mitre link : CVE-2020-5219
CVE.ORG link : CVE-2020-5219
JSON object : View
Products Affected
peerigon
- angular-expressions
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')