Skip to main content
← All vulnerabilities
CVE-2020-5219GHSA-HXHM-96PP-2M43

Remote Code Execution in Angular Expressions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.1
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • peerigon angular-expressions

    fixed in 1.0.1

  • angular-expressionsnpm

    fixed in 1.0.1

References 3

GitHub · peerigon/angular-expressions

blog.angularjs.org