Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-565 (在信任Cookie未进行验证与完整性检查) — Vulnerability Class 32

32 vulnerabilities classified as CWE-565 (在信任Cookie未进行验证与完整性检查). AI Chinese analysis included.

CWE-565 represents a critical input validation weakness where applications trust cookie data without verifying its integrity or authenticity. Attackers typically exploit this by manipulating cookie values, such as altering session identifiers or privilege flags, to impersonate legitimate users or escalate permissions. Since cookies are client-side and easily modified, relying on them for security decisions allows adversaries to bypass authentication mechanisms or access unauthorized resources. To mitigate this risk, developers must implement server-side validation for all security-critical operations, ensuring that cookie data is cross-referenced with secure server sessions. Additionally, using cryptographic signing or digital signatures for cookie contents helps detect tampering, while enforcing strict access controls ensures that sensitive actions are never solely dependent on unverified client-side information.

MITRE CWE Description
The product relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user.
Common Consequences (2)
Confidentiality, Integrity, Availability Modify Application Data, Execute Unauthorized Code or Commands
Attackers can easily modify cookies, within the browser or by implementing the client-side code outside of the browser. Reliance on cookies without detailed validation and integrity checking can allow attackers to bypass authentication, conduct injection attacks such as SQL injection and cross-site …
Access Control Gain Privileges or Assume Identity
It is dangerous to use cookies to set a user's privileges. The cookie can be manipulated to escalate an attacker's privileges to an administrative level.
Mitigations (4)
Architecture and Design Avoid using cookie data for a security-related decision.
Implementation Perform thorough input validation (i.e.: server side validation) on the cookie data if you're going to use it for a security related decision.
Architecture and Design Add integrity checks to detect tampering.
Architecture and Design Protect critical cookies from replay attacks, since cross-site scripting or other attacks may allow attackers to steal a strongly-encrypted cookie that also passes integrity checks. This mitigation applies to cookies that should only be valid during a single transaction or session. By enforcing timeouts, you may limit the scope of an attack. As part of your integrity check, use an unpredictable, s…
Examples (1)
The following code excerpt reads a value from a browser cookie to determine the role of the user.
Cookie[] cookies = request.getCookies(); for (int i =0; i< cookies.length; i++) { Cookie c = cookies[i]; if (c.getName().equals("role")) { userRole = c.getValue(); } }
Bad · Java
CVE ID Title CVSS Severity Published
CVE-2026-123319 JetBrains Ktor 3.6.1 前客户端 Cookie 注入漏洞 — Ktor 3.7 Low 2026-11-06
CVE-2026-119128 ZITADEL 4.0.0 before 4.19.5 Login V2 Account Takeover via Forgeable verificationCheck Cookie — zitadel 7.4 High 2026-10-29
CVE-2026-118661 Happy DOM: Cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookies — happy-dom 6.5 Medium 2026-10-28
CVE-2026-112352 Sunhillo SureLine Authentication Bypass via Session Cookie — SureLine 9.1 Critical 2026-10-27
CVE-2026-111749 AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies — aiohttp 2.3 Low 2026-10-19
CVE-2026-101287 Authentication bypass in Stela by Diaple Networking — Stela 9.3 Critical 2026-10-15
CVE-2026-76186 Apache Airflow Keycloak provider: Keycloak token cookies not bound to Airflow session identity — Apache Airflow Keycloak provider - - 2026-09-16
CVE-2026-69215 Http4s: CookieJar middleware matches by substring, leaking cookies cross-origin — http4s 6.8 Medium 2026-09-15
CVE-2026-85181 CAT through 3.1.0 Session Cookie Forgery via Unkeyed hashCode Checksum — cat 9.8 Critical 2026-09-03
CVE-2026-75757 AshAdmin cookie reader matches names by substring, enabling actor/session shadowing from a sibling subdomain — ash_admin 8.3 High 2026-08-31
CVE-2026-53871 Hermes WebUI < 0.51.368 - Profile-Scoped Authorization Bypass via Forged hermes_profile Cookie — hermes-webui 8.1 High 2026-06-17
CVE-2026-0257 PAN-OS: GlobalProtect Authentication Bypass Vulnerabilities — Cloud NGFW 7.8 High 2026-05-13
CVE-2026-39963 Serendipity: Host Header Injection enables authentication cookie scoping to an attacker-controlled domain — Serendipity 6.9 Medium 2026-04-14
CVE-2026-5130 Debugger & Troubleshooter <= 1.3.2 - Unauthenticated Privilege Escalation to Administrator via Cookie Manipulation — Debugger & Troubleshooter 8.8 High 2026-03-30
CVE-2014-125112 Plack::Middleware::Session::Cookie versions through 0.21 for Perl allows remote code execution — Plack::Middleware::Session::Cookie 9.8AI Critical AI 2026-03-26
CVE-2022-50926 WAGO 750-8212 PFC200 G2 2ETH RS Privilege Escalation — WAGO 750-8212 PFC200 9.8 Critical 2026-01-13
CVE-2025-14440 JAY Login & Register <= 2.4.01 - Authentication Bypass via Cookie — JAY Login & Register 9.8 Critical 2025-12-13
CVE-2021-47706 COMMAX Biometric Access Control System Authentication Bypass — COMMAX Biometric Access Control System 7.5AI High AI 2025-12-09
CVE-2025-64447 Fortinet FortiWeb 安全漏洞 — FortiWeb 7.1 High 2025-12-09
CVE-2025-31120 NamelessMC Vulnerable to Cookie-Based View Count Manipulation — Nameless 5.3 Medium 2025-04-18
CVE-2025-2395 e-Excellence U-Office Force - Improper Authentication — U-Office Force 9.8 Critical 2025-03-17
CVE-2024-9970 NewType FlowMaster BPM Plus - Privilege Escalation — FlowMaster BPM Plus 8.8 High 2024-10-15
CVE-2024-0947 Cookies Manipulation in Talya Informatics' Elektraweb — Elektraweb 9.8 Critical 2024-06-27
CVE-2024-21872 Electrolink FM/DAB/TV Transmitter Reliance on Cookies without Validation and Integrity Checking — Compact DAB Transmitter 7.5 High 2024-04-18
CVE-2024-22186 Electrolink FM/DAB/TV Transmitter Reliance on Cookies without Validation and Integrity Checking — Compact DAB Transmitter 8.8 High 2024-04-18
CVE-2023-32725 Leak of zbx_session cookie when using a scheduled report that includes a dashboard with a URL widget. — Zabbix 9.6 Critical 2023-12-18
CVE-2023-41084 Socomec MOD3GP-SY-120K Reliance on Cookies without Validation and Integrity Checking — MODULYS GP (MOD3GP-SY-120K) 10.0 Critical 2023-09-18
CVE-2021-3818 Reliance on Cookies without Validation and Integrity Checking in getgrav/grav — getgrav/grav - - 2021-09-27
CVE-2021-33842 Circutor SGE-PLC1000 improper authentication — SGE-PLC1000 8.8 High 2021-06-09
CVE-2021-29624 Lack of protection against cookie tossing attacks in fastify-csrf — fastify-csrf 6.5 Medium 2021-05-19

Vulnerabilities classified as CWE-565 (在信任Cookie未进行验证与完整性检查) represent 32 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.