CVE-2025-59397 Open Web Analytics Server is vulnerable to SQL Injection

Medium 5.0 Published Updated

An attacker can execute arbitrary SQL commands via the v parameter in owa_db.php, potentially reading or modifying database contents.

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

What is CVE-2025-59397?

CVE-2025-59397 is a medium-severity SQL injection vulnerability in openwebanalytics Open Web Analytics, published on 15 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Open Web Analytics (OWA) before 1.8.1 allows owa_db.php v[value] SQL injection.

Weakness: CWE-89

Which versions are affected by CVE-2025-59397?

2 open source packages ship an affected version, including open-web-analytics/open-web-analytics.

PackageAffectedFixed in
open-web-analytics/open-web-analytics PackagistAll versions1.8.1
open-web-analytics/open-web-analytics PackagistAll versions1.8.1

How do I fix CVE-2025-59397?

Upgrade open-web-analytics/open-web-analytics to 1.8.1 or later.

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-59397 being exploited?

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

Sources

Also known as GHSA-6w8r-xgqq-qg6g.

Is CVE-2025-59397 in your software?

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

Check your SBOMs for free