Skip to main content
← All vulnerabilities
CVE-2026-33230PYSEC-2026-2235GHSA-GFWX-W7GR-FVH7

nltk Vulnerable to Cross-site Scripting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nltk nltk

    through 3.9.3

  • nltkPyPI

    fixed in 3.9.4

References 3

GitHub · nltk/nltk