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.
Published: 2025-12-05
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in the Thai Lottery Widget plugin. Unsanitized width and height attributes in the thailottery shortcode let an attacker inject arbitrary JavaScript that is saved to the database and executed whenever a page containing the shortcode is viewed.

Affected Systems

WordPress sites running Thai Lottery Widget 2.5 or earlier are affected. The problem exists in all cached instances of the plugin up to and including version 2.5.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score of less than 1% suggests a low likelihood of exploitation in the wild, and the issue is not listed in CISA’s KEV catalog. Attackers need authenticated Contributor‑level access to an affected site to inject the script, so an insider or compromised account is required. The attack vector is internal; compromise of the site’s administration gives the attacker the means to place malicious scripts that will run in the browsers of all visitors to the injected page.

Generated by OpenCVE AI on April 21, 2026 at 17:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Thai Lottery Widget to the latest release (post‑2.5) where input sanitization for shortcode attributes has been fixed.
  • If an upgrade is not immediately possible, remove or disable the thailottery shortcode from all pages until a patched version is available.
  • Review all user‑submitted content for excess HTML or JavaScript and enforce strict content‑security policies to limit script execution on the site.

Generated by OpenCVE AI on April 21, 2026 at 17:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 05 Dec 2025 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Fri, 05 Dec 2025 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 05 Dec 2025 09:45:00 +0000

Type Values Removed Values Added
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.
Title Thai Lottery Widget <= 2.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:09:54.060Z

Reserved: 2025-11-25T18:50:06.347Z

Link: CVE-2025-13678

cve-icon Vulnrichment

Updated: 2025-12-05T12:47:59.199Z

cve-icon NVD

Status : Deferred

Published: 2025-12-05T10:15:47.047

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-13678

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T17:45:16Z

Weaknesses