File disclosure and service interruption via XXE
Published Jun 7, 2024 · Updated Mar 28, 2025
XML external entity injection in ebookmeta before 1.2.8 allows remote attackers to read sensitive files via crafted ebook XML. The get_metadata path passes ebook XML to lxml without preventing external entity resolution, so a SYSTEM identifier can retrieve a local file or expand entities until parsing is disrupted. Reachability requires a consuming application to give an attacker-controlled FB2 or EPUB file to get_metadata while lxml is before 4.9.1; the consequences are file disclosure or parser interruption.
Summary
What happened
XML external entity injection in ebookmeta before 1.2.8 allows remote attackers to read sensitive files via crafted ebook XML. The get_metadata path passes ebook XML to lxml without preventing external entity resolution, so a SYSTEM identifier can retrieve a local file or expand entities until parsing is disrupted. Reachability requires a consuming application to give an attacker-controlled FB2 or EPUB file to get_metadata while lxml is before 4.9.1; the consequences are file disclosure or parser interruption.
The record
- CVE
- CVE-2024-36827
- Published
- Jun 7, 2024
- Updated
- Mar 28, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-611, CWE-776, T1499, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 7, 2024CVE publishedPublication date reported by the CVE source.
- Mar 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Crafted ebook XML external-entity payloadproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo