Fiber: XSS in AutoFormat Content Negotiation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gofiber | fiber | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gofiber | Fiber |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-qjv7-627w-8qjv | Fiber vulnerable to XSS in AutoFormat Content Negotiation |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.212% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gofiber
Gofiber fiber |
|
| Vendors & Products |
Gofiber
Gofiber fiber |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Fiber: XSS in AutoFormat Content Negotiation | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|