GHSA-r6v3-hpxj-r8rvHighCVSS 7.5

Code Injection in PyXDG

Published
June 7, 2019
Last Modified
October 15, 2024

🔗 CVE IDs covered (1)

📋 Description

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 products1

  • pip/pyxdg:< 0.26

🔗 References (7)