james-heinrich/getid3 is vulnerable to XML External Entity (XXE) Injection
65
CVE Score
Medium
XML External Entity (XXE) Injection
getID3 parses XML metadata such as RIFF/WAV iXML through simplexml_load_string() after calling libxml_disable_entity_loader(true) behind the @ error-suppression operator. On PHP before 8.0 that call can fail silently, leaving external entity resolution enabled for the following parse. A crafted media file whose XML metadata references external entities then reads local files, reaches internal network resources, or exhausts resources through entity expansion. The fix stops suppressing the failure and hardens the XML parser configuration.
Upgrade the james-heinrich/getid3 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you run PHP before 8.0 and parse media files whose XML metadata is user controlled.
0.0.1 - 1.9.26
Fixed in 1.9.27james-heinrich/getid3 is vulnerable to XML External Entity (XXE) Injection in versions 0.0.1 - 1.9.26.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.