{"id":"CVE-2025-13678","aliases":["CVE-2025-13678"],"related":[],"kind":"vulnerability","state":"published","title":"Thai Lottery Widget <= 2.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Thai Lottery Widget para WordPress es vulnerable a cross-site scripting almacenado a través del shortcode 'thailottery' en todas las versiones hasta la 2.5, inclusive. Esto se debe a una sanitización de entrada y un escape de salida insuficientes en los atributos 'width' y 'height' del shortcode proporcionados por el usuario. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador o superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.","source":"nvd"}],"published":"2025-12-05T09:27:03.279Z","modified":"2026-09-25T23:10:00.463Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5","status":"affected"}],"vendor":"siamlottery","product":"Thai Lottery Widget","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/949eb9d6-0c8f-43f1-8580-998ea78c9549?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/thai-lottery-widget/trunk/thailottery.php#L330","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/thai-lottery-widget/tags/2.5/thailottery.php#L330","tags":[],"sources":["cvelist","nvd"]}],"credits":["Peerapat Samatathanyakorn"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-05T12:47:51.679Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13678","url":"https://www.cve.org/CVERecord?id=CVE-2025-13678","licence":"CVE Terms of Use","modified":"2026-04-08T17:09:54.060Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13678","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13678","licence":"Public domain","modified":"2026-09-25T23:10:00.463Z"}],"updatedAt":"2026-11-25T22:59:08.329Z","epss":{"score":0.00302,"percentile":0.24677,"date":"2026-12-01T12:00:22.000Z"}}