CVE-2025-57768 Stored XSS in “hours” fields when creating or editing an issue, using SQLite database

Medium 6.9 Published Updated

Attackers can inject malicious scripts via the Planned Hours field in Phproject, leading to stored XSS and potential session hijacking.

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

CVE-2025-57768 is a medium-severity cross-site scripting vulnerability in Alanaktion phproject, published on 21 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Phproject is a high performance full-featured project management system. From 1.8.0 to before 1.8.3, a Stored Cross-Site Scripting (XSS) vulnerability exists in the Planned Hours field when creating a new project. When sending a POST request to /issues/new/, the value provided in the Planned Hours field is included in the server response without any HTML encoding or sanitization. Because of this, an attacker can craft a malicious payload such as <script>alert(1)</script> and include it in the planned_hours parameter. The server reflects the input directly in the HTML of the project creation page, causing the browser to interpret and execute it. This vulnerability is fixed in 1.8.3.

Weakness: CWE-79

Which versions are affected by CVE-2025-57768?

How do I fix CVE-2025-57768?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-57768 being exploited?

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

Sources

Also known as GHSA-mhhg-qx37-g369.

Is CVE-2025-57768 in your software?

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

Check your SBOMs for free