pypi package report

Is pyxdg safe?

2 known vulnerabilities, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    8 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    No published models are known to use this package.


    cvss
    7.5
    high

    CVSS v3.0 base score out of 10

    epss
    2.1%
    medium

    chance of exploitation in 30 days, 82nd percentile of all CVEs

    xyz score
    4.1
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-r6v3-hpxj-r8rv, the advisory selected below

    // 2 advisories

    GHSA-r6v3-hpxj-r8rv

    HIGHGitHub ratingCVE-2019-12761

    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.

    // cvss v3.0 vector

    CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

    Attack vector
    Network
    Attack complexity
    High
    Privileges required
    None
    User interaction
    Required
    Scope
    Unchanged
    Confidentiality
    High
    Integrity
    High
    Availability
    High

    Checked 2026-11-08 at 00:21 UTC. The most recent advisory here was published 2022-05-17. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.