GitHub Advisory Database
GHSA-qpmc-wprv-x746
Inline DTD allows XML bomb attack
Details
The SweetXml (aka sweet_xml) package through 0.6.6 for Erlang and Elixir allows attackers to cause a denial of service (resource consumption) via an XML entity expansion attack with an inline DTD.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Hex | sweet_xml | All versions before 0.7.0 (fixed in 0.7.0) |