Description
Music Player Daemon (MPD) before version 0.24.11 contains a CRLF injection vulnerability in the xspf_char_data function within the XSPF playlist plugin that allows attackers to embed literal CR/LF bytes in URI fields by supplying a malicious XSPF playlist with XML numeric character references. Attackers can inject forged key-value lines through the location field into MPD protocol responses including playlistinfo, currentsong, and listplaylist outputs, as well as the state file writer, by exploiting Expat's decoding of numeric character references prior to the character data callback.
Problem types
Improper Neutralization of CRLF Sequences ('CRLF Injection')
Product status
Any version before 0.24.11
Credits
Matteo Strada
Daniele Berardinelli
References
mstreet97.github.io/...026/05/25/Four_Bugs_Reachable_nc.html
www.musicpd.org/news/2026/05/mpd-0-24-11-released/
raw.githubusercontent.com/...cPlayerDaemon/MPD/v0.24.11/NEWS
github.com/MusicPlayerDaemon/MPD/releases/tag/v0.24.11
github.com/MusicPlayerDaemon/MPD/issues/2483
github.com/...ommit/855085b35c67dddeef0652e2cb3ac8cdd4f457b7
www.vulncheck.com/...lf-injection-via-xspfplaylistplugin-cxx