Cross-site scriptingin Puma.
No public exploit found; not on exploited lists.
In Puma (RubyGem) before 4.3.3 and 3.12.4, if an application using Puma allows untrusted input in an early-hints header, an attacker can use a carriage return character to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2020-5247, which fixed this vulnerability but only for regular responses. This has been fixed in 4.3.3 and 3.12.4.
- Upgrade Puma to 3.12.4, 4.3.3 or later, whichever matches your release line.
- Upgrade puma (RubyGems) to 3.12.4, 4.3.3 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Jan 2020CVE ID reserved by GitHub_M.
- 2 Mar 2020Published in the CVE List.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Puma vulnerabilities
Same weakness: HTTP response splitting
- owasp.org x_refsource_MISC
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
Patchminder. CVE-2020-5249: Cross-site scripting in Puma. https://patchminder.com/cve/cve-2020-5249/ (accessed 5 December 2026).