In Fiber before version 1.12.6, the filename that is given in c.Attachment()…
Historical advisory recorded 24 Oct 2026 16:17:20 UTC. Read the latest advisory.
nvd · CVE-2020-15111
PublishedIn Fiber before version 1.12.6, the filename that is given in c.Attachment() (https://docs.gofiber.io/ctx#attachment) is not escaped, and therefore vulnerable for a CRLF injection attack. I.e. an attacker could upload a custom filename and then give the link to the victim. With this filename, the attacker can change the name of the downloaded file, redirect to another site, change the authorization header, etc. A possible workaround is to serialize the input before passing it to ctx.Attachment().
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2020-15111
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-74 · CWE-93
Original publisher date fields
published: 2020-07-20T18:15:12.000
lastModified: 2026-06-17T02:56:04.517
1 source CPE criteria · context only
- cpe:2.3:a:gofiber:fiber:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON