Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M

CVE-2026-33230nltk Vulnerable to Cross-site Scripting

Medium 6.1

In plain English

A medium-severity cross-site scripting in nltk from nltk. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nltkno fix listedDEBIAN-CVE-2026-33230
Debian:13nltkno fix listedDEBIAN-CVE-2026-33230
Debian:14nltk3.10.0-1DEBIAN-CVE-2026-33230
PyPInltk3.9.4PYSEC-2026-2235
PyPInltk3.9.4GHSA-gfwx-w7gr-fvh7
Ubuntu:25.10nltkno fix listedUBUNTU-CVE-2026-33230
Ubuntu:26.10nltkno fix listedUBUNTU-CVE-2026-33230

Affected products (as reported)

VendorProductVersions
nltk nltk <= 3.9.3

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References