Thunderbird's handling of the X-Mozilla-External-Attachment-URL header can be exploited to execute JavaScript in the file:/// context. By crafting a nested email attachment (message/rfc822) and setting its content type to application/pdf, Thunderbird may incorrectly render it as HTML when opened, allowing the embedded JavaScript to run without requiring a file download. This behavior relies on Thunderbird auto-saving the attachment to /tmp and linking to it via the file:/// protocol, potentially enabling JavaScript execution as part of the HTML. This vulnerability affects Thunderbird < 128.10.1 and Thunderbird < 138.0.1.
{
"binaries": [
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "thunderbird"
},
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "thunderbird-dev"
},
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "thunderbird-gnome-support"
},
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "thunderbird-mozsymbols"
},
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "xul-ext-calendar-timezones"
},
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "xul-ext-gdata-provider"
},
{
"binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1",
"binary_name": "xul-ext-lightning"
}
],
"availability": "No subscription required"
}