Skip to content

Security vulnerability: use safe ElementTree from defusedxml instead #14

@smarie

Description

@smarie

Hi there, thanks for the great lib ! I use it in genbadge to generate a nice badge from junit reports.

However there is a known vulnerability in the stdlib XML parser: https://docs.python.org/3/library/xml.etree.elementtree.html

You should maybe try to import the ElementTree from defusedxml as recommended by the python software foundation, so that at least if people have it installed, they will be safe ?

I'll propose a PR in case you're interested

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions