expr-eval: expr-eval: Code Execution via crafted expressions in toJSFunction() API
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | expr-eval | affected |
|
||||||
| n/a | org.webjars.npm:expr-eval | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Silentmatt | Expr-eval |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q9v2-7m5w-4693 | expr-eval vulnerable to Code Execution |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.866% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Code Execution Vulnerability in Expr-eval toJSFunction API | expr-eval: expr-eval: Code Execution via crafted expressions in toJSFunction() API |
| Weaknesses | CWE-917 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Silentmatt
Silentmatt expr-eval |
|
| Vendors & Products |
Silentmatt
Silentmatt expr-eval |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Code Execution Vulnerability in Expr-eval toJSFunction API |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application's context. | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|