CVE-2026-33230
Received Received - Intake
Reflected XSS in NLTK WordNet App Allows Script Execution

Publication date: 2026-03-20

Last updated on: 2026-03-23

Assigner: GitHub, Inc.

Description
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. In versions 3.9.3 and prior, `nltk.app.wordnet_app` contains a reflected cross-site scripting issue in the `lookup_...` route. A crafted `lookup_<payload>` URL can inject arbitrary HTML/JavaScript into the response page because attacker-controlled `word` data is reflected into HTML without escaping. This impacts users running the local WordNet Browser server and can lead to script execution in the browser origin of that application. Commit 1c3f799607eeb088cab2491dcf806ae83c29ad8f fixes the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-20
Last Modified
2026-03-23
Generated
2026-05-06
AI Q&A
2026-03-21
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nltk nltk to 3.9.3 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Natural Language Toolkit (NLTK) versions 3.9.3 and prior, specifically in the WordNet Browser application component. It is a reflected cross-site scripting (XSS) issue in the lookup route, where an attacker can craft a URL containing malicious HTML or JavaScript payloads. Because the application reflects user-controlled input into the HTML response without proper escaping, the malicious code can be executed in the browser of anyone accessing that URL.


How can this vulnerability impact me? :

This vulnerability can lead to the execution of arbitrary scripts in the context of the WordNet Browser application running locally. An attacker could exploit this to perform actions such as stealing sensitive information, hijacking user sessions, or performing unauthorized actions within the application. The impact is limited to users running the local WordNet Browser server, but it poses a risk of client-side script execution.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update NLTK to a version later than 3.9.3 where the issue has been fixed (commit 1c3f799607eeb088cab2491dcf806ae83c29ad8f). Avoid running the local WordNet Browser server until the update is applied to prevent reflected cross-site scripting attacks.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart