CVE-2025-40636 SQL injection in the mod_vvisit_counter module

Critical 9.3 Published Updated

An attacker can retrieve database content via a crafted cookie in the Joomla visit counter module.

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

What is CVE-2025-40636?

CVE-2025-40636 is a critical SQL injection vulnerability in mod_vvisit_counter, published on 3 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL injection vulnerability in Joomla module mod_vvisit_counter v2.0.4j3. This vulnerability allows an attacker to retrieve database content via the ‘cip_vvisitcounter’ cookie at all endpoints where the plugin counts visits.

Weakness: CWE-89

Which versions are affected by CVE-2025-40636?

How do I fix CVE-2025-40636?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-40636 being exploited?

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

Sources

Also known as GHSA-x7jc-5433-2rvx.

Is CVE-2025-40636 in your software?

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

Check your SBOMs for free