GHSA-h36g-93qx-rxgr: Duplicate Advisory Cross-Site Scripting Vulnerability
MODERATEGHSA-h36g-93qx-rxgr is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Duplicate Advisory libraries in the Packagist ecosystem. The issue involves phpmyfaq: stored xss in faq question/answer via encode-decode bypass of removeattributes() sanitization. Remediation is available by upgrading affected packages to version 4.1.2.
GHSA-h36g-93qx-rxgr at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-h36g-93qx-rxgr
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phpMyFAQ/phpMyFAQ to 4.1.2
Upgrade thorsten/phpMyFAQ to 4.1.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpMyFAQ/phpMyFAQ
How to Check if You Are Affected
To determine whether your application is affected by GHSA-h36g-93qx-rxgr, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for phpMyFAQ/phpMyFAQ
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-h36g-93qx-rxgr Affected Duplicate Advisory Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpMyFAQ/phpMyFAQ
|
Packagist |
< 4.1.2
|
4.1.2
|
|
thorsten/phpMyFAQ
|
Packagist |
< 4.1.2
|
4.1.2
|
References
Frequently Asked Questions
What is GHSA-h36g-93qx-rxgr?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-h36g-93qx-rxgr?
Is phpMyFAQ/phpMyFAQ affected?
Is thorsten/phpMyFAQ affected?
What is the CVSS score of GHSA-h36g-93qx-rxgr?
What CWE is associated with GHSA-h36g-93qx-rxgr?
How can I check Packagist dependencies for GHSA-h36g-93qx-rxgr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h36g-93qx-rxgr",
"modified" : "2026-06-09T00:00:26Z",
"published" : "2026-05-15T21:31:32Z",
"withdrawn" : "2026-06-09T00:00:26Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: phpMyFAQ: Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-f5p7-2c9q-8896. This link is maintained to preserve external references.\n\n### Original Description\nphpMyFAQ 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpMyFAQ/phpMyFAQ"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "thorsten/phpMyFAQ"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-f5p7-2c9q-8896"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-46363"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/thorsten/phpMyFAQ"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/phpmyfaq-stored-xss-in-faq-question-answer-via-encode-decode-bypass"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-21T21:16:40Z",
"nvd_published_at" : "2026-05-15T19:17:03Z"
}
}