{"api_version":"1","generated_at":"2026-05-12T21:47:39+00:00","cve":"CVE-2020-5219","urls":{"html":"https://cve.report/CVE-2020-5219","api":"https://cve.report/api/cve/CVE-2020-5219.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5219","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5219"},"summary":{"title":"CVE-2020-5219","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-01-24 16:15:00","updated_at":"2020-01-31 20:50:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html","name":"http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html","refsource":"MISC","tags":["Vendor Advisory"],"title":"AngularJS: Angular 1.6 - Expression Sandbox Removal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667","name":"https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667","refsource":"MISC","tags":["Patch"],"title":"Disallow access to prototype chain (CVE-2020-5219) · peerigon/angular-expressions@061addf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43","name":"https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43","refsource":"CONFIRM","tags":["Mitigation","Third Party Advisory"],"title":"Angular Expressions - Remote Code Execution · Advisory · peerigon/angular-expressions · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5219","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5219","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"reported by GoSecure Inc","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"5219","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"peerigon","cpe5":"angular-expressions","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5219","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"peerigon","cpe5":"angular-expressions","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-5219","qid":"983110","title":"Nodejs (npm) Security Update for angular-expressions (GHSA-hxhm-96pp-2m43)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5219","STATE":"PUBLIC","TITLE":"Remote Code Execution in Angular Expressions"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"angular-expressions","version":{"version_data":[{"version_value":"< 1.0.1"}]}}]},"vendor_name":"peerigon"}]}},"credit":[{"lang":"eng","value":"reported by GoSecure Inc"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43","refsource":"CONFIRM","url":"https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43"},{"name":"https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667","refsource":"MISC","url":"https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667"},{"name":"http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html","refsource":"MISC","url":"http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html"}]},"source":{"advisory":"GHSA-hxhm-96pp-2m43","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-01-24 16:15:00","lastModifiedDate":"2020-01-31 20:50:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:peerigon:angular-expressions:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.0.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5219","Ordinal":"165433","Title":"CVE-2020-5219","CVE":"CVE-2020-5219","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5219","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5219","Ordinal":"2","NoteData":"2020-01-24","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5219","Ordinal":"3","NoteData":"2020-01-24","Type":"Other","Title":"Modified"}]}}}