Parsers of Babel: A Large-Scale Study of URL Parsing Differentials
Abstract
Modern web infrastructure relies on URL parsing to identify and interact with resources. When two parsers’ interpretations of a URL diverge, an attacker can exploit the gap to bypass security checks. Prior work analyzing URL parser disagreement lacks the depth and coverage needed to accurately characterize the modern ecosystem. To address these gaps, we develop TURLMOIL, a grammar-based, feedback-driven fuzzer for large-scale differential testing of URL parsers. We evaluate TURLMOIL against the largest corpus of URL parsing libraries assembled to date: 96 parsers spanning 21 language ecosystems. Across 512,424 generated URLs, we find that 99.91% of distinct parser pairs exhibit at least one differential, and 97.92% diverge on every parsed component of a URL. We taxonomize existing parser differentials and identify previously unknown techniques enabling open redirect, server-side request forgery, and logic bypasses. We show that regardless of specification or language, differing URL parsers provide no assurances of security or interoperability. We further demonstrate that parser discrepancies can be used to fingerprint parser implementations on black-box systems, and we apply our dataset of differentials against real-world systems to uncover high-impact vulnerabilities.
Disclosed Vulnerabilities
- MediaWiki OAuth callback bypass leading to account takeover, CVE-2026-13707
- Jenkins open redirect, CVE-2026-53437
- CTFd open redirect, CVE-2026-78145
- Fail-open bypasses in Google Safe Browsing and VirusTotal