CVE-2026-135729: FFmpeg before 9.1 XML Injection via WebM DASH Manifest lang Attribute
FFmpeg before 9.1 contains an XML injection vulnerability in writeadaptationset() in libavformat/webmdashenc.c that writes stream language metadata unescaped into the AdaptationSet lang attribute. Attackers can supply crafted WebM files whose track language contains quotes or angle brackets to inject attributes or elements, controlling segment URLs and representations in generated MPD manifests.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Workflows that generate DASH MPD manifests from attacker-supplied or otherwise untrusted WebM files are exposed. The crafted input must contain malicious track language metadata.
What must an attacker do to exploit it?
An attacker needs to provide a WebM file whose track language value includes characters such as quotes or angle brackets. When FFmpeg generates the MPD, the unescaped value can inject XML attributes or elements, including content that controls segment URLs and representations.
Are unaffected versions identified?
FFmpeg versions before 9.1 are affected. The provided data identifies 9.1 as the boundary for the issue.
How can I determine whether a workflow is affected?
Review whether your FFmpeg processing accepts WebM inputs from untrusted sources and produces DASH manifests. Also inspect generated MPD files for unexpected XML attributes, elements, segment URLs, or representations originating from track language metadata.