Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-57768
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:25 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 21 Aug 2025, 17:20 UTC

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

osv:CVE-2025-57768
Complete source record
{
  "id": "7af4e0a2dbde5626e78cf047af869fd3b626992e45bf343ad14622045dc17340",
  "url": "https://osv.dev/vulnerability/CVE-2025-57768",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Stored XSS in “hours” fields when creating or editing an issue, using SQLite database",
    "summary": "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 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.",
    "evidence": "osv:CVE-2025-57768",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-57768",
      "aliases": [
        "CVE-2025-57768",
        "GHSA-mhhg-qx37-g369"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/alanaktion/phproject",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a77e05228a18875ed2ee5868aea9c9456b4f7455"
                },
                {
                  "fixed": "5970d68d480a1db87f87ed377aa77194db192d28"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "fixed": "1.8.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.3"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.8.2",
            "v1.8.1",
            "v1.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57768.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.644642545Z",
      "provider": "osv",
      "references": [
        "https://github.com/Alanaktion/phproject/security/advisories/GHSA-mhhg-qx37-g369",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57768.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-57768"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57768.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-57768",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519276,
  "published_at": "2025-08-21T17:20:35.531+00:00"
}