# CVE-2025-59304: A directory traversal issue in Swetrix Web Analytics API 3.1.1 before 7d8b972 allows a remote attacker to achieve Remote Code Execution via…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.46%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-09-17T00:00:00.000Z
- Modified: 2026-06-17T09:45:54.420Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- swetrix swetrix: up to 4.0.0

## References

- <https://github.com/Swetrix/swetrix/pull/397> (exploit, patch)
- <https://www.depthfirst.com/post/anatomy-of-an-automated-patch-fixing-a-file-upload-rce-cve-2025-59304> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2025-59304](https://www.cve.org/CVERecord?id=CVE-2025-59304), CVE Terms of Use, modified 2025-09-26
- NVD: [CVE-2025-59304](https://nvd.nist.gov/vuln/detail/CVE-2025-59304), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59304 · Whole record: https://cve.day/CVE-2025-59304.json · Rebuilt by cve.day 2026-11-25T22:59:04.791Z
