patchminder
Proof of concept · Exploit-DB CVE-2016-6816

Cross-site scriptingin Apache Tomcat.

Published 20 Mar 2017 · Updated 14 Nov 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 38.9% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Tomcat
Not confirmed
Not confirmed
CVE record
org.apache.tomcat:tomcat-coyote (Maven)
9.0.0.M1 to before 9.0.0.M12
9.0.0.M12
GitHub advisory
org.apache.tomcat:tomcat-coyote (Maven)
8.5.0 to before 8.5.8
8.5.8
GitHub advisory
org.apache.tomcat:tomcat-coyote (Maven)
8.0.0RC1 to before 8.0.39
8.0.39
GitHub advisory
org.apache.tomcat:tomcat-coyote (Maven)
7.0.0 to before 7.0.73
7.0.73
GitHub advisory
org.apache.tomcat:tomcat-coyote (Maven)
6.0.0 to before 6.0.48
6.0.48
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 12 Aug 2016
    CVE ID reserved by apache.
  2. 20 Mar 2017
    Published in the CVE List.
  3. 14 Nov 2024
    CVE record last updated.
  4. 26 Nov 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
1 repository
Exploit-DBEDB-ID 41783remote exploit for multiple, published 4 Apr 2017
GitHubno warning signs foundgooglesky/CVE-2016-68160 stars · created 26 Nov 2026Tomcat request line parser accepts invalid characters enabling smuggling. Fixed in 9.0.0.M12/8.5.7/8.0.39/7.0.73. Differential: parsed on vuln, refused on fixed
Referencewww.exploit-db.comnamed as exploit in the CVE record

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.

Related

Other Tomcat vulnerabilities

References
Cite this page

Patchminder. CVE-2016-6816: Cross-site scripting in Apache Tomcat. https://patchminder.com/cve/cve-2016-6816/ (accessed 5 December 2026).