Bug 2476358 (CVE-2026-42554) - CVE-2026-42554 github.com/gofiber/fiber: Fiber: Cross-Site Scripting via Accept header manipulation
Summary: CVE-2026-42554 github.com/gofiber/fiber: Fiber: Cross-Site Scripting via Acce...
Keywords:
Status: NEW
Alias: CVE-2026-42554
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2487453 2489136
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-11 23:05 UTC by OSIDB Bzimport
Modified: 2026-06-16 10:54 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-11 23:05:50 UTC
Fiber is a web framework for Go. Prior to 2.52.12 and 3.1.0, Cross-Site Scripting vulnerability in Go Fiber allows a remote attacker to inject arbitrary HTML/JavaScript by supplying Accept: text/html on any request whose handler passes attacker-influenced data to the AutoFormat() feature. The developer opts into content negotiation by calling AutoFormat(), but does not opt into raw HTML emission for a particular request; Fiber chooses that branch from attacker-controlled Accept. The html branch is the sole outlier in a method whose name (AutoFormat) and symmetrical structure actively telegraph "safe, format-agnostic reply." This vulnerability is fixed in 2.52.12 and 3.1.0.


Note You need to log in before you can comment on or make changes to this bug.