Vulnerability · Published Aug 21, 2025 · Assigned by GitHub_M
CVE-2025-57768Stored XSS in “hours” fields when creating or editing an issue, using SQLite database
Medium 6.9
In plain English
A medium-severity cross-site scripting in phproject from Alanaktion. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Alanaktion | phproject | >= 1.8.0, < 1.8.3 |
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/Alanaktion/phproject/security/advisories/GHSA-mhhg-qx37-g369 x_refsource_CONFIRM