CVE-2025-10042: SQL Injection in WordPress Quiz Maker via spoofed IP headers
- Vendor
- Ays-Pro
CVE-2025-10042 is an SQL injection vulnerability in the Quiz Maker plugin for WordPress affecting all versions up to and including 6.7.0.56. The flaw is caused by insufficient escaping of a user-controlled value derived from spoofable client IP headers and by failure to properly parameterize the resulting SQL query. In affected deployments, if the application is configured to trust a user-supplied header such as X-Forwarded-For for client IP determination, an unauthenticated attacker can supply crafted input in that header and cause additional SQL syntax to be appended to an existing query. The issue is specifically tied to configurations where IP-based user limiting is enabled and the server retrieves the client IP from a user-controlled field.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an unauthenticated attacker to inject SQL into backend database queries. This can be used to extract sensitive information from the WordPress database, and depending on the database context and query behavior, may also enable broader database manipulation. At minimum, the vulnerability exposes confidentiality risk for stored application and site data without requiring authentication.
Mitigation
If you can’t patch tonight, do this now.
As an interim mitigation, disable any feature that limits users by IP if it is not operationally required. Do not trust user-supplied IP headers such as X-Forwarded-For unless the application is behind a trusted proxy that sanitizes and overwrites those headers. Configure the web server, reverse proxy, or WordPress environment so client IP information is sourced only from trusted infrastructure. Additional defensive measures include WAF rules to detect SQLi payloads in forwarded IP headers and restricting direct access paths that allow arbitrary header injection.
Remediation
Patch, then assume compromise.
Update the Quiz Maker plugin to a version newer than 6.7.0.56 once a fixed release is available. The vulnerable code should be corrected by strictly validating and normalizing client IP input, avoiding direct trust in spoofable headers unless they are set by a trusted reverse proxy, and by using properly prepared and parameterized SQL queries for all database access paths involving user-influenced data.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-10042 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-10042 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-10042?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2025-10042, the earliest disclosed Jan 25, 2026.
- Is there a patch for CVE-2025-10042?
- Update the Quiz Maker plugin to a version newer than 6.7.0.56 once a fixed release is available. The vulnerable code should be corrected by strictly validating and normalizing client IP input, avoiding direct trust in spoofable headers unless they are set by a trusted reverse proxy, and by using properly prepared and parameterized SQL queries for all database access paths involving user-influenced data.
- What products are affected by CVE-2025-10042?
- Ays-Pro Quiz Maker.
- How severe is CVE-2025-10042?
- CVE-2025-10042 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.98% (63rd percentile) as of Sep 25, 2026.
Recent activity
4 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.