Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain account with glossary permissions
-
DeliveryCraft input with trailing backslash at truncation boundary
-
ExploitSubmit payload to glossary create or update endpoint
-
ExecutionDangling backslash escapes SQL quote delimiter
-
PersistInject UNION SELECT or stacked SQL commands
-
ImpactExfiltrate sensitive database rows
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session with an account that holds glossary 'add' or 'edit' permissions in phpMyFAQ. These permissions are not granted to default end-users; they must be explicitly assigned by an administrator. The vulnerable code path is specifically the glossary create and update HTTP endpoints - other endpoints are not confirmed affected. Exploitation is not possible without valid credentials at the PR:L level. The truncation condition that enables the bypass depends on the attacker supplying input of sufficient length to be truncated at a backslash boundary, which is a crafted but low-complexity precondition. Exploitation is limited to: authenticated users only; users with explicit glossary permissions; phpMyFAQ versions strictly before 4.1.7. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) scores 8.6, reflecting low attack complexity and high data impact despite requiring low-privilege authentication. The PR:L metric is the primary limiting factor - exploitation requires an authenticated account with glossary add or edit permissions, which constrains the attacker pool to trusted or compromised internal users. No EPSS data was provided, and the vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation at time of analysis. No public proof-of-concept exploit has been identified. The high confidentiality and integrity impact metrics are well-founded: arbitrary SQL injection against a FAQ system's database could expose user credentials, internal content, and configuration data. Real-world risk is moderate to high for deployments with untrusted glossary editors or exposed admin portals, but lower for tightly controlled single-tenant deployments. |
| Exploit ScenarioDerived | An attacker with a low-privileged account that has glossary add or edit permissions sends a crafted POST request to the glossary create or update endpoint, embedding a value designed to be truncated such that a backslash appears at the end of the escaped string. The dangling backslash escapes the closing SQL quote, allowing the attacker to append arbitrary SQL clauses - for example, a UNION SELECT to extract password hashes, API keys, or other sensitive rows from the database. No public exploit code has been identified, but the technique (truncation-breaking escaping) is well-documented and reproducible by an attacker familiar with SQL injection methodology. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
SQL injection in phpMyFAQ before 4.1.7 allows authenticated low-privileged users to exfiltrate and manipulate database contents via the glossary create and update endpoints. The flaw stems from a string truncation defect that breaks SQL escaping: when an escaped string is truncated before embedding in a SQL literal, a trailing backslash can dangle, escaping the closing quote and allowing arbitrary SQL injection. No public exploit or CISA KEV listing has been identified at time of analysis, but the CVSS 4.0 score of 8.6 with high confidentiality and integrity impact reflects serious potential for sensitive data exposure.
RemediationAI
Upgrade phpMyFAQ to version 4.1.7 or later, which resolves the truncation-before-escaping defect in the glossary endpoints. The vendor advisory is available at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-79h3-6hxj-g98h. If immediate patching is not possible, restrict glossary add/edit permissions exclusively to fully trusted administrators - this directly eliminates the attacker-controlled PR:L entry point. As an additional compensating control, implement a Web Application Firewall rule to detect and block dangling backslash patterns in glossary form submissions; note that WAF rules may produce false positives on legitimate multilingual content containing backslashes. Audit the glossary database table for unexpected entries or schema changes that could indicate prior exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ is a PHP-based open-source FAQ management system authored by Thorsten Rinne (CPE: cpe:2.3:a:thorsten:phpmyfaq:*:*:*:*:*:*:*:*). The vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements used in a SQL Command). The root cause is a truncation-before-escaping logic error: the application escapes user input to neutralize SQL metacharacters, but then truncates the resulting string to fit a field length constraint. If the original string's escaping introduced a backslash at the truncation boundary, the trailing backslash survives, escaping the closing SQL quote delimiter and enabling the attacker to inject raw SQL syntax. This class of defect is particularly subtle because standard escaping routines appear to be applied but are rendered ineffective by post-escaping truncation. The glossary create and update endpoints are the confirmed injection points.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable via HTTP (AV:N), low complexity craft, requires authenticated glossary-edit account (PR:L), no scope change, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
phpMyFAQ versions before 4.1.7 contain a SQL injection vulnerability in glossary management endpoints allowing low-privileged authenticated users to exfiltrate and alter database contents; no public exploit identified at this time. The vulnerability poses direct risk to data confidentiality and integrity for all organizations deploying this FAQ platform.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict glossary create and update endpoint access to administrative users only; (2) enforce strict input validation and parameterized queries at the application layer; (3) enable comprehensive database query logging to detect injection patterns; (4) upgrade to phpMyFAQ 4.1.7 or later as soon as operationally feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-62446
GHSA-gvqv-x9gq-w33g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB