Medium
phpMyFAQ vulnerable to stored XSS on attachments filename
Type: advisorySources: OSV
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Unsafe echo of filename in phpMyFAQ\phpmyfaq\admin\attachments.php leads to allowed execution of JavaScript code in client side (XSS). This vulnerability has been patched in version 3.2.5.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-24574
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 02:09 UTC · Revision 1
Source evidence
phpMyFAQ vulnerable to stored XSS on attachments filename
core-osv · Original sourcePublished 5 Feb 2024, 20:57 UTC
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Unsafe echo of filename in phpMyFAQ\phpmyfaq\admin\attachments.php leads to allowed execution of JavaScript code in client side (XSS). This vulnerability has been patched in version 3.2.5.
osv:CVE-2024-24574
Complete source record
{
"id": "077e22c9ae2ce9b4e854c4363db5d907583af0ead5b2b8d4db0e4c80130a38ef",
"url": "https://osv.dev/vulnerability/CVE-2024-24574",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "phpMyFAQ vulnerable to stored XSS on attachments filename",
"summary": "phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Unsafe echo of filename in phpMyFAQ\\phpmyfaq\\admin\\attachments.php leads to allowed execution of JavaScript code in client side (XSS). This vulnerability has been patched in version 3.2.5.",
"evidence": "osv:CVE-2024-24574",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-24574",
"aliases": [
"CVE-2024-24574",
"GHSA-7m8g-fprr-47fx"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/thorsten/phpmyfaq",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ee05654763ef0f16137d3bd21ec50e2f21ffb8f8"
},
{
"fixed": "5479b4a4603cce71aa7eb4437f1c201153a1f1f5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.2.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5479b4a4603cce71aa7eb4437f1c201153a1f1f5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.2.4",
"3.2.3",
"3.2.2",
"3.2.1",
"3.2.0",
"3.2.0-RC.4",
"3.2.0-RC.2",
"3.2.0-RC",
"3.2.0-beta.2",
"3.2.0-beta",
"3.2.0-alpha",
"3.1.0-RC",
"3.1.0-beta",
"3.1.0-alpha.3",
"3.1.0-alpha.2",
"3.1.0-alpha",
"3.0.0-beta.3",
"3.0.0-beta.2",
"3.0.0-beta",
"3.0.0-alpha.4",
"3.0.0-alpha.3",
"3.0.0-alpha.2",
"3.0.0-alpha",
"2.10.0-alpha",
"2.9.0",
"2.9.0-RC4",
"2.9.0-RC3",
"2.9.0-RC2",
"2.9.0-RC",
"2.9.0-beta2",
"2.9.0-beta",
"2.9.0-alpha4",
"2.9.0-alpha3",
"2.9.0-alpha2",
"2.9.0-alpha",
"2.8.2",
"2.8.1",
"2.8.0",
"2.8.0-RC4",
"2.8.0-RC3",
"2.8.0-RC2",
"2.8.0-RC",
"2.8.0-beta3",
"2.8.0-beta2",
"2.8.0-beta",
"2.8.0-alpha3",
"2.8.0-alpha2",
"2.7.0-RC",
"2.7.0-beta3",
"2.7.0-beta2",
"2.7.0-beta",
"2.7.0-alpha2",
"2.7.0-alpha",
"2.6.7",
"2.6.6",
"2.6.5",
"2.6.4",
"2.6.3",
"2.6.2",
"2.6.1",
"2.6.0",
"2.6.0-RC",
"2.6.0-beta",
"2.6.0-alpha"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24574.json"
}
}
],
"modified": "2026-10-28T02:30:41.622639668Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24574.json",
"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7m8g-fprr-47fx",
"https://nvd.nist.gov/vuln/detail/CVE-2024-24574",
"https://github.com/thorsten/phpMyFAQ/commit/5479b4a4603cce71aa7eb4437f1c201153a1f1f5",
"https://github.com/thorsten/phpMyFAQ/pull/2827"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79",
"CWE-80"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24574.json"
}
},
"related_cves": [
{
"value": "CVE-2024-24574",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509376,
"published_at": "2024-02-05T20:57:13.115+00:00"
}