CVE-2025-4641 XML External Entity (XXE) injection vulnerability in WebDriverManager

Critical 9.3 Published Updated

An XXE vulnerability in WebDriverManager allows attackers to cause denial of service or read sensitive data via malicious XML input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-4641?

CVE-2025-4641 is a critical vulnerability in bonigarcia webdrivermanager, published on 14 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Restriction of XML External Entity Reference vulnerability in bonigarcia webdrivermanager WebDriverManager on Windows, MacOS, Linux (XML parsing components modules) allows Data Serialization External Entities Blowup. This vulnerability is associated with program files src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java.

This issue affects webdrivermanager: from 1.0.0 before 6.0.2.

Weakness: CWE-611

Which versions are affected by CVE-2025-4641?

2 open source packages ship an affected version, including io.github.bonigarcia:webdrivermanager.

PackageAffectedFixed in
io.github.bonigarcia:webdrivermanager MavenFrom 1.0.06.1.0
io.github.bonigarcia:webdrivermanager MavenFrom 1.0.06.1.0

How do I fix CVE-2025-4641?

Upgrade io.github.bonigarcia:webdrivermanager to 6.1.0 or later.

Is CVE-2025-4641 being exploited?

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

Sources

Also known as GHSA-pwm3-776c-8q7q.

Is CVE-2025-4641 in your software?

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

Check your SBOMs for free