Skip to main content
← All vulnerabilities
CVE-2019-12761PYSEC-2019-199GHSA-R6V3-HPXJ-R8RVSNYK-PYTHON-PYXDG-174562

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 f

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.26
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • pyxdgPyPI

    fixed in 0.26

References 4

gist.github.com

snyk.io

lists.debian.org