CVE-2026-33230 json
nltk Vulnerable to Cross-site Scripting
published 2026-03-18 7 mo ago modified 2026-09-10 1 mo ago also GHSA-gfwx-w7gr-fvh7 , PYSEC-2026-2235 , EUVD-2026-13883
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi nltk 3.9.4
- nltk Debian 14 3.10.0-1
debian advisories DEBIAN-CVE-2026-33230
- nltk Ubuntu Pro 14.04 LTS 2.0~b9-0ubuntu4.1~esm6
- nltk Ubuntu Pro 16.04 LTS 3.1-1ubuntu0.1+esm4
- nltk Ubuntu Pro 18.04 LTS 3.2.5-1ubuntu0.1+esm4
- nltk Ubuntu Pro 20.04 LTS 3.4.5-2ubuntu0.1~esm4
- nltk Ubuntu Pro 22.04 LTS 3.7-1ubuntu0.1~esm2
- nltk Ubuntu Pro 24.04 LTS 3.8.1-1ubuntu0.1~esm2
- nltk Ubuntu Pro 26.04 LTS 3.9.2-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2026-33230
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-nltk openSUSE Tumbleweed 3.9.4-1.1
opensuse advisories openSUSE-SU-2026:10461-1
- github.com/nltk/nltk@1c3f799 commit
- github.com/nltk/nltk@40d0bc1 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-33230 updated cvss 6.1
nltk: NLTK: Script execution via reflected cross-site scripting in WordNet Browser
-
Red Hat Lightspeed Core lightspeed-core/rag-tool-rhel9, lightspeed-core/lightspeed-stack-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +23 more Red Hat OpenShift AI (RHOAI) rhoai/odh-ta-lmes-job-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-trustyai-nemo-guardrails-server-rhel9, rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9, rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nltk | <3.9.4 |
3.9.4 |
Affected products
- nltk nltk
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/nltk/nltk/commit/1c3f799607eeb088cab2491dcf806ae83c29ad8f
web, patch
-
github.com
/nltk/nltk/commit/40d0bc1d484a3458d6a63ecb5ba4957ab16ba14e
web, patch
-
github.com
/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7
web, exploit, vendor-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2026-33230
advisory
-
github.com
/nltk/nltk
package
Sources
- CVE List CVE-2026-33230
- GitHub Advisory GHSA-gfwx-w7gr-fvh7
- NVD CVE-2026-33230
- OSV PYSEC-2026-2235
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.