CVE-2025-6718 B1.lt for WooCommerce <= 2.2.57 - Missing Authorization to Authenticated (Subscriber+) Arbitrary SQL Injection

High 8.8 Published Updated

Authenticated subscribers can execute arbitrary SQL commands due to missing authorization checks in the B1.lt WooCommerce plugin.

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-6718?

CVE-2025-6718 is a high-severity SQL injection vulnerability in b1accounting Site.pro for WooCommerce, published on 18 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The B1.lt plugin for WordPress is vulnerable to SQL Injection due to a missing capability check on the b1_run_query AJAX action in all versions up to, and including, 2.2.57. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute and run arbitrary SQL commands.

Weakness: CWE-862

Which versions are affected by CVE-2025-6718?

How do I fix CVE-2025-6718?

No fix has been published for CVE-2025-6718 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-6718 being exploited?

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

Sources

Also known as GHSA-5m7q-7ppx-2j6f.

Is CVE-2025-6718 in your software?

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

Check your SBOMs for free