Skip to content
Heist/ feed
Back to feed
Medium

phpMyFAQ has stored XSS in admin "List of users" via display_name HTML entity decoding (html_entity_decode) + Twig |raw

Type: advisorySources: OSV

phpMyFAQ is an open source FAQ web application. Versions 4.0.14 and 4.0.15 have a stored cross-site scripting (XSS) vulnerability that allows an attacker to execute arbitrary JavaScript in an administrator’s browser by registering a user whose display name contains HTML entities. When an administrator views the admin user list, the payload is decoded server-side and rendered without escaping, resulting in script execution in the admin context. Version 4.0.16 contains a patch for the issue.

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

Source evidence

phpMyFAQ has stored XSS in admin "List of users" via display_name HTML entity decoding (html_entity_decode) + Twig |raw

core-osv · Original source

Published 29 Dec 2025, 15:18 UTC

phpMyFAQ is an open source FAQ web application. Versions 4.0.14 and 4.0.15 have a stored cross-site scripting (XSS) vulnerability that allows an attacker to execute arbitrary JavaScript in an administrator’s browser by registering a user whose display name contains HTML entities. When an administrator views the admin user list, the payload is decoded server-side and rendered without escaping, resulting in script execution in the admin context. Version 4.0.16 contains a patch for the issue.

osv:CVE-2025-68951
Complete source record
{
  "id": "bf7a0310399eaeb559fc2adc2ff015a79121de1f32f9f46096fb7367f9ac0a2e",
  "url": "https://osv.dev/vulnerability/CVE-2025-68951",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "phpMyFAQ has stored XSS in admin \"List of users\" via display_name HTML entity decoding (html_entity_decode) + Twig |raw",
    "summary": "phpMyFAQ is an open source FAQ web application. Versions 4.0.14 and 4.0.15 have a stored cross-site scripting (XSS) vulnerability that allows an attacker to execute arbitrary JavaScript in an administrator’s browser by registering a user whose display name contains HTML entities. When an administrator views the admin user list, the payload is decoded server-side and rendered without escaping, resulting in script execution in the admin context. Version 4.0.16 contains a patch for the issue.",
    "evidence": "osv:CVE-2025-68951",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-68951",
      "aliases": [
        "CVE-2025-68951",
        "GHSA-jv8r-hv7q-p6vc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/thorsten/phpmyfaq",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e711096c2a49597f8f87534b35e2b4df8309606f"
                },
                {
                  "fixed": "fe206674c07c5ad9e5013c3068ade4ce0cb66f89"
                },
                {
                  "introduced": "bf781788ab6b5c2967a09d66216d7580778a2b5a"
                },
                {
                  "fixed": "61829e83411f7b28bc6fd1052bfde54c32c6c370"
                },
                {
                  "fixed": "8211d1d25951b4c272443cfc3ef9c09b1363fd87"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.14"
                      },
                      {
                        "fixed": "4.0.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyfaq:phpmyfaq:4.1.0:rc:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.1.0-rc"
                      },
                      {
                        "last_affected": "4.1.0-rc"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "61829e83411f7b28bc6fd1052bfde54c32c6c370"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8211d1d25951b4c272443cfc3ef9c09b1363fd87"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.1.0-rc",
            "4.0.15",
            "4.0.14"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68951.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.438404499Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68951.json",
        "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-jv8r-hv7q-p6vc",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68951",
        "https://github.com/thorsten/phpMyFAQ/commit/61829e83411f7b28bc6fd1052bfde54c32c6c370",
        "https://github.com/thorsten/phpMyFAQ/commit/8211d1d25951b4c272443cfc3ef9c09b1363fd87"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68951.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68951",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504663,
  "published_at": "2025-12-29T15:18:58+00:00"
}