CVE-2026-55618: eml_parser has a URL extraction bypass via HTML entities in URLs
eml_parser performs certain validations on potential URL strings to discard bogus values. In versions prior to 3.0.2, this validation was performed before unescaping any HTML entities that might occur in the string. This caused the library to wrongfully reject valid URLs that use HTML entities for the :, /, or . characters. These URLs would then not be included in the list of extracted URLs. Similarly, the host parts of such URLs would not be extracted.
For example, neither the URL https://phishing.example.com nor its host (phishing.example.com) would appear in the parsing result.
References
- github.com/GOVCERT-LU/eml_parser/commit/746a69f86443eb0b6a47f77db3cfe727c21f92b3
- github.com/GOVCERT-LU/eml_parser/pull/90
- github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.2
- github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-fxgq-9m89-cxj9
- github.com/advisories/GHSA-fxgq-9m89-cxj9
- nvd.nist.gov/vuln/detail/CVE-2026-55618
Code Behaviors & Features
Detect and mitigate CVE-2026-55618 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →