{"id":"CVE-2026-33230","published":"2026-03-20T22:43:39Z","modified":"2026-03-24T02:07:12Z","title":"nltk Vulnerable to Cross-site Scripting","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00377,"percentile":0.32537,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/commit/1c3f799607eeb088cab2491dcf806ae83c29ad8f","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/40d0bc1d484a3458d6a63ecb5ba4957ab16ba14e","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":6.51},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["<= 3.9.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-24T02:06:58.082988Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.9.4"],"patched":["3.9.4"],"from":["GHSA-gfwx-w7gr-fvh7","PYSEC-2026-2235"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw in the lookup_ route of nltk.app.wordnet_app, the WordNet Browser server component of the NLTK (Natural Language Toolkit) Python package, lets attacker-controlled input be echoed into HTML without escaping. An attacker who gets a victim to open a crafted lookup_<payload> URL can run arbitrary JavaScript in the origin of the local WordNet Browser application, which requires user interaction but no authentication or prior network position.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:25Z"},"euvd":{"id":"EUVD-2026-13883","exploited":false,"provenance":"source"}}