Home

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.

PUBLISHED Reserved 2026-03-18 | Published 2026-03-20 | Updated 2026-03-24 | Assigner GitHub_M




MEDIUM: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

<= 3.9.3
affected

References

github.com/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7

github.com/...ommit/1c3f799607eeb088cab2491dcf806ae83c29ad8f

github.com/...ommit/40d0bc1d484a3458d6a63ecb5ba4957ab16ba14e

cve.org (CVE-2026-33230)

nvd.nist.gov (CVE-2026-33230)

Download JSON