Content-Disposition header ignored when a file is included in an embed or object tag
Mozilla Firefox · Mozilla Thunderbird
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Mozilla Firefox | — |
|
| Mozilla Thunderbird | — |
|
Original description
When a file download is specified via the `Content-Disposition` header, that directive would be ignored if the file was included via a `<embed>` or `<object>` tag, potentially making a website vulnerable to a cross-site scripting attack. This vulnerability was fixed in Firefox 140, Firefox ESR 128.12, Thunderbird 140, and Thunderbird 128.12.