Every CVE Search/ Get API key

CVE-2010-4312

Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header

6.4 MediumFix available

The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.

Exploit likelihood

2.14%Up 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.4

The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.

Record
CVE-2010-4312
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:N/I:P/A:P
Weakness
CWE-16
Updated
2026-11-02
CVE List No score

The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.

Record
CVE-2010-4312
Updated
2026-11-02
EUVDEUVD-2022-4827 No score

The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.

Record
EUVD-2022-4827
Updated
2026-11-03
GitHub AdvisoriesGHSA-pvjh-7h8q-q56r No score

Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header

The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.

Record
GHSA-pvjh-7h8q-q56r
Weakness
CWE-1004
Updated
2026-11-02
OSVGHSA-pvjh-7h8q-q56r No score

Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header

The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.

Record
GHSA-pvjh-7h8q-q56r
Weakness
CWE-1004
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.tomcat:tomcat
Maven
6.0.0 up to 6.0.35
6.0.35

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2010-4312 is a medium vulnerability (CVSS 6.4) in Apache Tomcat, published November 26, 2010. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in org.apache.tomcat:tomcat 6.0.35.

References

MoveEnter Open