CVE-2025-10042 Quiz Maker <= 6.7.0.56 - Unauthenticated SQL Injection

Medium 5.9 Published Updated

Unauthenticated attackers can extract sensitive database information via SQL injection in the Quiz Maker plugin when specific IP handling configurations are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-10042?

CVE-2025-10042 is a medium-severity SQL injection vulnerability in ays-pro Quiz Maker, published on 17 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Quiz Maker plugin for WordPress is vulnerable to SQL Injection via spoofed IP headers in all versions up to, and including, 6.7.0.56 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is only exploitable in configurations where the server is set up to retrieve the IP from a user-supplied field like `X-Forwarded-For` and limit users by IP is enabled.

Weakness: CWE-89

Which versions are affected by CVE-2025-10042?

It affects 1 product.

Products include Ays-Pro Quiz Maker.

How do I fix CVE-2025-10042?

No fix has been published for CVE-2025-10042 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-10042 being exploited?

There is no known exploitation of CVE-2025-10042 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-pvmr-35vg-qx2g.

Is CVE-2025-10042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free