CVE-2026-33230: nltk Cross-site Scripting
Vulnerability summary
CVE-2026-33230 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in nltk. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 33.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 20-03-2026PublishedVulnerability first disclosed.
- 24-03-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
+0.08 pp
From 0.33% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundNltk
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard11 products
- apache-beam-python-3.11-sdk< 2.71.0-r8
- apache-beam-python-3.12-sdk< 2.71.0-r2
- apache-beam-python-3.13-sdk< 2.71.0-r2
- kubeflow-pipelines-visualization-server< 2.16.0-r3
- label-studio< 1.23.0-r1
Wolfi6 products
- kubeflow-pipelines-visualization-server< 2.16.0-r3
- open-webui< 0.8.12-r1 | < 0.8.12-r2
- py3-nltk< 3.9.4-r0
- py3.11-nltk< 3.9.4-r0
- py3.12-nltk< 3.9.4-r0
Debian1 product
- nltkAll versions (No fix recorded) | < 3.10.0-1
Mageia1 product
- python-nltk< 3.9.4-1.mga9
Nltk1 product
- nltk≤ 3.9.3
Opensuse1 product
- python-nltk&distro=openSUSE Tumbleweed< 3.9.4-1.1
PyPI1 product
- nltk< 3.9.4
Ubuntu1 product
- nltk< 2.0~b9-0ubuntu4.1~esm6 | < 3.1-1ubuntu0.1+esm4 | < 3.2.5-1ubuntu0.1+esm4 | < 3.4.5-2ubuntu0.1~esm4 | < 3.7-1ubuntu0.1~esm2 | < 3.8.1-1ubuntu0.1~esm2 | All versions (No fix recorded) | < 3.9.2-1ubuntu0.1~esm2
8 vendors · 23 products
References
14 links- github.com/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7X Refsource CONFIRMWEBEVIDENCEREPORTAdvisoryExploitVendor Advisory
- github.com/nltk/nltk/commit/1c3f799607eeb088cab2491dcf806ae83c29ad8fX Refsource MISCWEBFIXREPORTPatch
- github.com/nltk/nltk/commit/40d0bc1d484a3458d6a63ecb5ba4957ab16ba14eX Refsource MISCWEBFIXREPORTPatch
- github.com/nltk/nltkPACKAGE