xgrammar (pypi) has 4 known vulnerabilities, the worst rated HIGH. Upgrade to 0.1.32 or later to clear all of them. No malicious-package signal is recorded.
3 published AI models are associated with this package: 3 name it in a requirements or pyproject file, 2 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 3 state a version requirement, so this is not a count of affected models.
cvss
7.5
high
CVSS v3.1 base score out of 10
epss
1.3%
medium
chance of exploitation in 30 days, 72nd percentile of all CVEs
xyz score
4.1
medium
CyberXYZ composite out of 10
fig. 01 — GHSA-7rgv-gqhr-fxg3, the advisory selected below
CyberXYZ does not call a package safe in absolute terms. It records 4 known vulnerabilities for xgrammar (pypi), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does xgrammar have known vulnerabilities?
Yes. CyberXYZ records 4 known vulnerabilities for xgrammar (pypi), the worst rated HIGH. They are GHSA-7rgv-gqhr-fxg3, GHSA-5cmr-4px5-23pc, GHSA-9q5r-wfvf-rr7f, GHSA-389x-67px-mjg3.
Which version of xgrammar should I use?
0.1.32 or later clears every advisory recorded for xgrammar (pypi). Check the release you pick before installing it.
How do I check xgrammar before installing?
Search xgrammar in CyberXYZ Check at https://cyberxyz.io/check?q=xgrammar. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-24 at 14:04 UTC. The most recent advisory here was published 2026-03-05. Updated continuously from NVD, GHSA, OSV and CNA feeds.