cve.bz

CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag, published in 2021

Filter

The product uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag.

What the weakness is: CWE-1004 at MITRE. OWASP Top 10: A02:2025 Security Misconfiguration. All weaknesses

Ask an AI about CWE-1004

Show the promptExplain CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1004.html and https://cve.bz/cve/cwe/1004?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 9.1CVE-2021-42115businessdnasolutions topeaseEPSS 1.3%

    Missing HTTPOnly flag in Web Applications operating on Business-DNA Solutions GmbH’s TopEase® Platform Version <= 7.1.27 allows an unauthenticated remote attacker to escalate privileges from unauthenticated to authenticated user via steali…

  2. 6.5CVE-2021-39210glpi-project glpiEPSS 1.0%

    GLPI is a free Asset and IT management software package. In versions prior to 9.5.6, the cookie used to store the autologin cookie (when a user uses the "remember me" feature) is accessible by scripts. A malicious plugin that could steal t…

  3. 7.5CVE-2021-3706pi-hole web interfaceEPSS 1.1%

    adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag

  4. 3.3CVE-2021-34563pepperl-fuchsEPSS 0.2%

    In PEPPERL+FUCHS WirelessHART-Gateway 3.0.8 and 3.0.9 the HttpOnly attribute is not set on a cookie. This allows the cookie's value to be read or set by client-side JavaScript.