SCA: security update for github.com/gofiber/fiber/v2, github.com/gofiber/fiber/v3 (GHSA-qjv7-627w-8qjv)

medium Tenable Self-Hosted Container Security Plugin ID 441245

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-42554)

Solution

Update the github.com/gofiber/fiber/v2 library and its related packages to version 2.52.13 or later.

See Also

https://github.com/advisories/GHSA-qjv7-627w-8qjv

Plugin Details

Severity: Medium

ID: 441245

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 5/6/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.56

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-42554

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/5/2026

Vulnerability Publication Date: 5/5/2026

Reference Information

CVE: CVE-2026-42554

cwe: CWE-79