CVE-2025-4022 web-arena-x webarena evaluators.py HTMLContentEvaluator code injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via the HTMLContentEvaluator in WebArena, requiring immediate patching for evaluation environments.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4022?

CVE-2025-4022 is a medium-severity code injection vulnerability in web-arena-x webarena, published on 28 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2025-4022?

It affects 1 product.

Products include Webarena Webarena.

How do I fix CVE-2025-4022?

No fix has been published for CVE-2025-4022 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-4022 being exploited?

There is no known exploitation of CVE-2025-4022 in the wild and no public exploit code.

Sources

Also known as GHSA-45qh-j5f9-3rvr.

Is CVE-2025-4022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free