{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-12761","published":"2019-06-06T19:29:00.533000Z","last_modified":"2026-06-17T02:15:24.020000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:*","part":"a","vendor":"python","product":"pyxdg","version_end_excluding":"0.26"}],"cpes_truncated":false,"vendors":["python"],"products":["python/pyxdg"],"epss":{"score":0.02105,"percentile":0.8243,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r6v3-hpxj-r8rv","ecosystem":"PyPI","name":"pyxdg","purl":"pkg:pypi/pyxdg","ranges":[{"introduced":"0","fixed":"0.26"}],"versions":["0.19","0.20","0.21","0.22","0.23","0.24","0.25"],"versions_truncated":false},{"advisory":"PYSEC-2019-199","ecosystem":"PyPI","name":"pyxdg","purl":"pkg:pypi/pyxdg","ranges":[{"introduced":"0","fixed":"0.26"}],"versions":["0.19","0.20","0.21","0.22","0.23","0.24","0.25"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2019-12761/","html_en":"/en/cve/CVE-2019-12761/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-12761","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-12761"},"untrusted":{"vendor_name":"Python","product_name":"Pyxdg","desc_en":"A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.","affected":[],"references":[{"url":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html","tags":[]},{"url":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","tags":["Third Party Advisory"]}]}}