Closed
Bug 1976304
(CVE-2025-55030)
Opened 1 year ago
Closed 1 year ago
Firefox iOS Ignores Content-Disposition Header allows XSS
Categories
(Firefox for iOS :: General, defect)
Firefox for iOS
General
Tracking
()
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fxios | 142 | --- |
People
(Reporter: renwax23, Unassigned)
References
Details
(Keywords: csectype-sop, reporter-external, sec-high, Whiteboard: [client-bounty-form])
Attachments
(3 files)
Firefox for iOS ignores Content-Disposition response headers and instead of downloading the file it will render it, this is different from 1976296 because Focus ignores Content-Type too but Firefox if it's application/octet-stream it will try to download it.
Flags: sec-bounty?
Updated•1 year ago
|
Group: firefox-core-security → mobile-core-security
Component: Security → General
Product: Firefox → Firefox for iOS
Updated•1 year ago
|
Keywords: csectype-sop,
sec-high
See Also: → CVE-2025-55032
A few quick notes
- It looks like this behavior may have been changed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1474339
- @dveditz pointed out that we should always be respecting Content-Disposition: attachment per RFC 2616:
According to RFC 2616, the disposition type "attachment" only applies to content of type "application/octet-stream". This restriction has been removed, because recipients in practice do not check the content type, and it also discourages properly declaring the media type.
- There were some related refactors that took place as part of this fix: https://github.com/mozilla-mobile/firefox-ios/pull/24840
- Per discussions with @dveditz the plan for now is to always respect Content-Disposition: attachment
Updated•1 year ago
|
Group: mobile-core-security → core-security-release
Updated•1 year ago
|
Flags: sec-bounty? → sec-bounty+
Comment 3•1 year ago
|
||
Verified as fixed on v9000 (58916) (this v9000 is the latest main v142) with iPhone 15 Pro (18.5).
Based on the number added on the website, the number of webpages opened correctly.
Status: RESOLVED → VERIFIED
Updated•1 year ago
|
Alias: CVE-2025-55030
Updated•2 months ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•