CVE-2025-4022 Details
Description
A vulnerability was found in web-arena-x webarena up to 0.2.0. It has been declared as critical. This vulnerability affects the function HTMLContentEvaluator of the file webarena/evaluation_harness/evaluators.py. The manipulation of the argument target["url"] leads to code injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
A critical code injection vulnerability has been identified in web-arena-x webarena versions through 0.2.0. The issue resides in the HTMLContentEvaluator function within the evaluators.py file. The vulnerability arises from the manipulation of the target['url'] argument, which is passed to the eval() function for execution. This flaw allows remote attackers to execute arbitrary code, potentially leading to unauthorized actions such as deleting sensitive files or executing malicious commands.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/web-arena-x/webarena/issues/194 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/web-arena-x/webarena/issues/194#issuecomment-2796165922 | [email protected] | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.306376 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.306376 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.558415 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| webarena webarena | <= 0.2.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2025 | Initial Analysis | [email protected] |
| Apr 28, 2025 | New CVE Received | [email protected] |