madpah/serializable

defusedxml still required?

オープン

#194 opened on 2026/03/05

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Python (5 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (7 個のスター)
PR merge metrics
 (PR metrics pending)

説明

In https://github.com/madpah/serializable/pull/5, defusedxml has been introduced as a dependency to prevent XEE attacks.

According to the docs, defusedxml should not be required anymore with recent Python versions and the recommendation for defusedxml has been removed from the official Python docs after some discussions:

According to the table at https://github.com/tiran/defusedxml?tab=readme-ov-file#python-xml-libraries, the mentioned attacks should not be possible with modern Python anymore.

Is the dependency still required here?

コントリビューターガイド