GHSA-h36g-93qx-rxgr

Suggest an improvement
Source
https://github.com/advisories/GHSA-h36g-93qx-rxgr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-h36g-93qx-rxgr/GHSA-h36g-93qx-rxgr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h36g-93qx-rxgr
Withdrawn
2026-06-09T00:00:26Z
Published
2026-05-15T21:31:32Z
Modified
2026-09-10T03:50:46Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: phpMyFAQ: Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-f5p7-2c9q-8896. This link is maintained to preserve external references.

Original Description

phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in FAQ creation and update endpoints that bypass sanitization through encode-decode cycles. The vulnerability allows authenticated attackers with FAQ_ADD permission to inject malicious script tags via question or answer parameters, which execute in every visitor's browser when FAQ content is rendered with the raw Twig filter.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-21T21:16:40Z",
    "nvd_published_at":  "2026-05-15T19:17:03Z",
    "severity":  "MODERATE"
}
References

Affected packages

Packagist / phpMyFAQ/phpMyFAQ

Package

Name
phpMyFAQ/phpMyFAQ
Purl
pkg:composer/phpMyFAQ/phpMyFAQ

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-h36g-93qx-rxgr/GHSA-h36g-93qx-rxgr.json"

Packagist / thorsten/phpMyFAQ

Package

Name
thorsten/phpMyFAQ
Purl
pkg:composer/thorsten/phpMyFAQ

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-h36g-93qx-rxgr/GHSA-h36g-93qx-rxgr.json"