CVE-2026-33230
nltk Vulnerable to Cross-site Scripting
Reported by github_m · Published March 20, 2026
nltk is fixed in 3.9.4 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nltk | PyPI | 3.9.4 |
| nemo | Chainguard | 2.7.2-r1 |
| apache-beam-python-3.13-sdk | Chainguard | 2.71.0-r2 |
| py3-nltk | Wolfi | 3.9.4-r0 |
| kubeflow-pipelines-visualization-server | Chainguard | 2.16.0-r3 |
| label-studio | Chainguard | 1.23.0-r1 |
| apache-beam-python-3.11-sdk | Chainguard | 2.71.0-r8 |
| apache-beam-python-3.12-sdk | Chainguard | 2.71.0-r2 |
| nltk | nltk | 3.9.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | <= 3.9.3 |
| chainguard | nemo | 0 |
| chainguard | apache-beam-python-3.13-sdk | 0 |
| wolfi | py3-nltk | 0 |
| chainguard | kubeflow-pipelines-visualization-server | 0 |
| chainguard | label-studio | 0 |
| chainguard | apache-beam-python-3.11-sdk | 0 |
| chainguard | apache-beam-python-3.12-sdk | 0 |
| PyPI | nltk | 0 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| wolfi | open-webui | 0 |
| chainguard | py3-nltk | 0 |
| chainguard | open-webui | 0 |
| nltk | nltk | 0 |
Timeline
- Mar 19, 2026 Security Advisory
- Mar 20, 2026 CVE Published
- Mar 20, 2026 PoC Published
- Mar 21, 2026 EPSS Score (30 in total, the first dated here)
- May 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-33230
vulnetix vdb fixes CVE-2026-33230
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-33230/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7 x_refsource_CONFIRM
- https://github.com/nltk/nltk/commit/1c3f799607eeb088cab2491dcf806ae83c29ad8f x_refsource_MISC
- https://github.com/nltk/nltk/commit/40d0bc1d484a3458d6a63ecb5ba4957ab16ba14e x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-33230 advisory
- https://github.com/advisories/GHSA-gfwx-w7gr-fvh7 advisory
- https://github.com/nltk/nltk url