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
Aliases
  • CVE-2026-46363
Published
2026-05-15T21:31:32Z
Modified
2026-05-21T21:30:20.848131265Z
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
Summary
phpMyFAQ: Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization
Details

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
{
    "nvd_published_at": "2026-05-15T19:17:03Z",
    "github_reviewed": true,
    "severity": "MODERATE",
    "github_reviewed_at": "2026-05-21T21:16:40Z",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Packagist / phpMyFAQ/phpMyFAQ

Package

Name
phpMyFAQ/phpMyFAQ
Purl
pkg:composer/phpMyFAQ%2FphpMyFAQ

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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%2FphpMyFAQ

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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"