CVE-2025-13678
MEDIUM
6.4
CVSS 3.1
Description
The Thai Lottery Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `thailottery` shortcode in all versions up to, and including, 2.5. This is due to insufficient input sanitization and output escaping on the user supplied `width` and `height` shortcode 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.
Affected WordPress components
-
Thai Lottery Widget Plugin · thai-lottery-widgetUp to and including 2.5View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- siamlottery Thai Lottery Widget — Up to and including 2.5
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/thai-lottery-widget/tags/2.5/thailottery.php#L330
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/thai-lottery-widget/trunk/thailottery.php#L330
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/949eb9d6-0c8f-43f1-8580-998ea78c9549?source=cve
- nvd.nist.gov Official NVD record