CVE-2025-59304 Path traversal in n/a

Critical 9.8 Published Updated

A remote attacker can achieve Remote Code Execution in Swetrix Web Analytics API via a crafted HTTP request exploiting a directory traversal vulnerability.

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

CVE-2025-59304 is a critical path traversal vulnerability in n/a, published on 17 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A directory traversal issue in Swetrix Web Analytics API 3.1.1 before 7d8b972 allows a remote attacker to achieve Remote Code Execution via a crafted HTTP request.

Weakness: CWE-22

Which versions are affected by CVE-2025-59304?

It affects 1 product.

Products include Swetrix Swetrix.

How do I fix CVE-2025-59304?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-59304 being exploited?

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

Sources

Also known as GHSA-6q94-xgm6-vjmf.

Is CVE-2025-59304 in your software?

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

Check your SBOMs for free