Cross-site scriptingin Apache Tomcat.
Proof of concept public (Exploit-DB).
The code in Apache Tomcat 9.0.0.M1 to 9.0.0.M11, 8.5.0 to 8.5.6, 8.0.0.RC1 to 8.0.38, 7.0.0 to 7.0.72, and 6.0.0 to 6.0.47 that parsed the HTTP request line permitted invalid characters. This could be exploited, in conjunction with a proxy that also permitted the invalid characters but with a different interpretation, to inject data into the HTTP response. By manipulating the HTTP response the attacker could poison a web-cache, perform an XSS attack and/or obtain sensitive information from requests other then their own.
- Upgrade org.apache.tomcat:tomcat-coyote (Maven) to 6.0.48, 7.0.73, 8.0.39, 8.5.8, 9.0.0.M12 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
- 12 Aug 2016CVE ID reserved by apache.
- 20 Mar 2017Published in the CVE List.
- 14 Nov 2024CVE record last updated.
- 26 Nov 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation none.
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
Other Tomcat vulnerabilities
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- tomcat.apache.org x_refsource_CONFIRM
- tomcat.apache.org x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- tomcat.apache.org x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.oracle.com x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- security.netapp.com x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- tomcat.apache.org x_refsource_CONFIRM
- tomcat.apache.org x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2016-6816: Cross-site scripting in Apache Tomcat. https://patchminder.com/cve/cve-2016-6816/ (accessed 5 December 2026).