# CVE-2019-15160: Inline DTD allows XML bomb attack

- Severity: High 7.5 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.67%, higher than 77% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-08-19T05:40:00.000Z
- Modified: 2026-06-17T02:19:49.047Z
- Also known as: GHSA-qpmc-wprv-x746
- Weaknesses: CWE-611, CWE-776
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sweet_xml (Hex): before 0.7.0
- kbrw sweet_xml: up to 0.6.6

## Every score

- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/kbrw/sweet_xml/issues/71> (exploit, third-party-advisory, web)
- <https://hex.pm/packages/sweet_xml> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-15160> (advisory)
- <https://github.com/kbrw/sweet_xml> (package)

## Sources

- CVE List: [CVE-2019-15160](https://www.cve.org/CVERecord?id=CVE-2019-15160), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-qpmc-wprv-x746](https://github.com/advisories/GHSA-qpmc-wprv-x746), CC-BY-4.0, modified 2025-12-10
- NVD: [CVE-2019-15160](https://nvd.nist.gov/vuln/detail/CVE-2019-15160), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-15160 · Whole record: https://cve.day/CVE-2019-15160.json · Rebuilt by cve.day 2026-11-25T22:57:46.570Z
