Description
FFmpeg before 9.1 contains an XML injection vulnerability in write_adaptation_set() 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.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | < 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917Issue Tracking, Patch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/webmdashenc.c#L337Product
- https://github.com/FFmpeg/FFmpeg/commit/bc2316e2d1dcc3a6687b7d46a3ed6bae42b8a9baPatch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-xml-injection-via-webm-dash-manifest-lang-attributeThird Party Advisory
Timeline
- Published
- Nov 24, 2026
- Last modified
- Nov 24, 2026
- NVD status
- Analyzed