CVE-2025-13678: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siamlottery Thai Lottery Widget
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.
AI Analysis
Technical Summary
CVE-2025-13678 is a stored cross-site scripting vulnerability in the Thai Lottery Widget WordPress plugin, affecting all versions up to and including 2.5. The issue is caused by improper neutralization of input in the `width` and `height` attributes of the `thailottery` shortcode, allowing authenticated users with Contributor or higher privileges to inject arbitrary scripts. These scripts execute in the context of users who visit the compromised pages, potentially leading to session hijacking or other script-based attacks. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges.
Potential Impact
An attacker with Contributor-level access or higher can inject persistent malicious scripts into pages via shortcode attributes, which execute in the browsers of users viewing those pages. This can lead to information disclosure or user session compromise. The vulnerability does not affect availability and requires authenticated access, limiting the attack surface to users with certain privileges.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the Thai Lottery Widget plugin if possible to prevent exploitation.
CVE-2025-13678: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siamlottery Thai Lottery Widget
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13678 is a stored cross-site scripting vulnerability in the Thai Lottery Widget WordPress plugin, affecting all versions up to and including 2.5. The issue is caused by improper neutralization of input in the `width` and `height` attributes of the `thailottery` shortcode, allowing authenticated users with Contributor or higher privileges to inject arbitrary scripts. These scripts execute in the context of users who visit the compromised pages, potentially leading to session hijacking or other script-based attacks. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges.
Potential Impact
An attacker with Contributor-level access or higher can inject persistent malicious scripts into pages via shortcode attributes, which execute in the browsers of users viewing those pages. This can lead to information disclosure or user session compromise. The vulnerability does not affect availability and requires authenticated access, limiting the attack surface to users with certain privileges.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the Thai Lottery Widget plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-25T18:50:06.347Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6932a9b1f88dbe026c8e9fc0
Added to database: 12/5/2025, 9:45:21 AM
Last enriched: 4/9/2026, 4:34:04 PM
Last updated: 5/9/2026, 10:05:53 PM
Views: 182
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.