PT-2026-26217 · Nltk+2 · Nltk+2
Leduckhuong
·
Published
2026-03-18
·
Updated
2026-06-03
·
CVE-2026-33230
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
NLTK versions 3.9.3 and prior
Description
NLTK (Natural Language Toolkit) contains a reflected cross-site scripting (XSS) issue in the
lookup ... route of nltk.app.wordnet app. A crafted lookup <payload> URL can inject arbitrary HTML/JavaScript into the response page because attacker-controlled word data is reflected into HTML without proper escaping. This impacts users running the local WordNet Browser server and can lead to script execution in the browser origin of that application. The issue is exploitable because Reference.decode() accepts attacker-controlled base64-encoded pickle data for the URL state, and the decoded word is reflected into HTML without escaping. The vulnerable code is located in nltk/app/wordnet app.py at lines 144, 755, 769, and 796. The API endpoint affected is /lookup <payload>. The vulnerable parameter is word.Recommendations
Versions prior to 3.9.3 should be updated to address this issue.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Nltk
Ubuntu