Description
The vulnerability, reported by GoSecure Inc, allows Remote Code Execution, 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.
Recommendation
Update the angular-expressions
package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.0.1
- Patched version(s): 1.0.1
References
Related Issues
- Angular Expressions - Remote Code Execution - CVE-2021-21277
- DOMPurify allows Cross-site Scripting (XSS) - CVE-2025-26791
- lite-server vulnerable to Denial of Service - CVE-2022-25940
- Manifest Uses a One-Way Hash without a Salt - CVE-2025-27408
- Tags:
- npm
- angular-expressions
Anything's wrong? Let us know Last updated on January 09, 2023