CVE-2025-12907 Code injection in Chrome

High 8.8 Published Updated

A remote attacker can execute arbitrary code in Google Chrome Devtools via user action due to insufficient input validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-12907?

CVE-2025-12907 is a high-severity code injection vulnerability in Google Chrome, published on 7 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Insufficient validation of untrusted input in Devtools in Google Chrome prior to 140.0.7339.80 allowed a remote attacker to execute arbitrary code via user action in Devtools. (Chromium security severity: Low)

Weakness: CWE-20

Which versions are affected by CVE-2025-12907?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2025-12907?

Upgrade to a fixed version.

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

Is CVE-2025-12907 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12907 exists.

All Google Chrome vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-12907, GHSA-885p-rxgp-x27q.

Is CVE-2025-12907 in your software?

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

Check your SBOMs for free