Description
phpMyFAQ before 4.1.7 contains a SQL injection vulnerability in the glossary create and update endpoints caused by truncating an escaped string before embedding it in a SQL literal. Authenticated users with glossary add or edit permissions can craft a payload with a dangling backslash to escape the closing quote and inject arbitrary SQL commands to read sensitive database information.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| thorsten | phpMyFAQ | 0 to <4.1.7; 4.1.7 |
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-79h3-6hxj-g98h (vendor-advisory)
- https://www.vulncheck.com/advisories/phpmyfaq-before-sql-injection-via-glossary (third-party-advisory)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.