CVE-2025-57768

Source
https://cve.org/CVERecord?id=CVE-2025-57768
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57768.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-57768
Aliases
  • GHSA-mhhg-qx37-g369
Published
2025-08-21T17:20:35.531Z
Modified
2026-07-15T01:49:14.363515883Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Stored XSS in “hours” fields when creating or editing an issue, using SQLite database
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57768.json",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/alanaktion/phproject

Affected ranges

Type
GIT
Repo
https://github.com/alanaktion/phproject
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "1.8.0"
        },
        {
            "fixed": "1.8.3"
        },
        {
            "introduced": "0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

v1.*
v1.8.0
v1.8.1
v1.8.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57768.json"