Skip to content
OpenAdvisories

Package · Go

github.com/gofiber/fiber/v3

8 known vulnerabilities.

8 results · Feed

  • Medium 5.3

    Fiber: Username Enumeration via Timing Oracle in BasicAuth Default Authorizer

    Fiber is an Express inspired web framework written in Go. Prior to 3.3.0, the default Authorizer function in the BasicAuth middleware in middleware/basicauth/config.go uses short-circuit evaluation that skips password hash comparison for non-existent username…

  • Medium 4.8

    Fiber: HSTS header never set in helmet middleware due to incorrect protocol check

    Fiber is an Express inspired web framework written in Go. Prior to 3.4.0, the helmet middleware in middleware/helmet/helmet.go never sets the Strict-Transport-Security response header even when HSTSMaxAge is configured because it checks c.Protocol() for https…

  • Medium 5.3

    Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward

    Fiber is an Express inspired web framework written in Go. Prior to 3.3.0 and 2.52.14, the BalancerForward proxy helper in middleware/proxy/proxy.go uses Header.Add() instead of Header.Set() when injecting X-Real-IP, allowing an attacker-supplied first X-Real-…

  • Medium 5.3

    Fiber: XSS in AutoFormat Content Negotiation

    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 dat…

  • Medium 6.5

    github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters

    Fiber is a web framework for Go. In github.com/gofiber/fiber/v3 versions through 3.1.0, the default key generator in the cache middleware uses only the request path and does not include the query string. As a result, requests for the same path with different …

  • High 7.5

    Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded Allocation

    Fiber is an Express inspired web framework written in Go. In versions on the v3 branch prior to 3.1.0, the use of the `fiber_flash` cookie can force an unbounded allocation on any server. A crafted 10-character cookie value triggers an attempt to allocate up …

  • High 7.7

    Fiber has an Arbitrary File Read in Static Middleware on Windows

    Fiber is an Express inspired web framework written in Go. A Path Traversal (CWE-22) vulnerability in Fiber allows a remote attacker to bypass the static middleware sanitizer and read arbitrary files on the server file system on Windows. This affects Fiber v3 …

  • Medium 5.5

    Fiber has a Denial of Service Vulnerability via Route Parameter Overflow

    Fiber is an Express inspired web framework written in Go. A denial of service vulnerability exists in Fiber v2 and v3 that allows remote attackers to crash the application by sending requests to routes with more than 30 parameters. The vulnerability results f…