CVE-2026-46398
Deferred Deferred - Pending Action
Cookie Theft via Missing Secure Flag in HAX CMS

Publication date: 2026-06-05

Last updated on: 2026-06-05

Assigner: GitHub, Inc.

Description
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 25.0.0 and prior to version 26.0.0, the haxcms_refresh_token cookie is set without the Secure flag. This allows it to be transmitted over unencrypted HTTP, making it vulnerable to theft via packet sniffing on the network. Version 26.0.0 fixes the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-05
Last Modified
2026-06-05
Generated
2026-06-06
AI Q&A
2026-06-05
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
hax_cms hax_cms to 26.0.0 (exc)
haxtheweb haxcms-php to 26.0.0 (exc)
haxtheweb haxcms-php 26.0.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-614 The Secure attribute for sensitive cookies in HTTPS sessions is not set.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability affects the haxcms-php package versions 25.0.0 up to but not including 26.0.0. The issue is that the `haxcms_refresh_token` cookie is set without the Secure flag, which means it can be transmitted over unencrypted HTTP connections.

Because the cookie is sent without the Secure flag, it can be intercepted by attackers using man-in-the-middle (MITM) attacks when the connection is not encrypted. This allows attackers to steal the cookie and potentially hijack user sessions.

The vulnerability is fixed in version 26.0.0 by setting the Secure flag on the cookie, ensuring it is only transmitted over HTTPS.


How can this vulnerability impact me? :

This vulnerability can lead to the theft of the `haxcms_refresh_token` cookie via network packet sniffing on unencrypted HTTP connections.

If an attacker intercepts this cookie, they may be able to impersonate the user or gain unauthorized access to the application, potentially leading to session hijacking.

Such unauthorized access can compromise sensitive data and the integrity of the microsite managed by HAX CMS.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by inspecting the cookies set by the HAX CMS application, specifically checking if the `haxcms_refresh_token` cookie is set without the Secure flag.

On the client side, you can use browser developer tools to inspect cookies and verify if the Secure attribute is missing.

On the network side, you can capture HTTP traffic and look for the `haxcms_refresh_token` cookie being transmitted over unencrypted HTTP.

  • Use a network packet capture tool like tcpdump or Wireshark to monitor HTTP traffic for the `haxcms_refresh_token` cookie.
  • Example tcpdump command to capture HTTP traffic on port 80: `tcpdump -i any -A 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)'` and then filter for `haxcms_refresh_token` in the output.
  • Use curl with verbose output to check cookie attributes if you have access to the server endpoint: `curl -v --cookie-jar cookies.txt https://your-haxcms-site` and inspect the cookies.txt file.

What immediate steps should I take to mitigate this vulnerability?

The immediate mitigation step is to upgrade the HAX CMS package to version 26.0.0 or later, where the issue is fixed by setting the Secure flag on the `haxcms_refresh_token` cookie.

If upgrading is not immediately possible, ensure that all connections to the HAX CMS application are served over HTTPS to prevent the cookie from being transmitted over unencrypted HTTP.

Additionally, configure the application to set the Secure flag to true in the `setcookie` function for the `haxcms_refresh_token` cookie.

Consider adding the SameSite attribute to the cookie to further enhance security.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows the haxcms_refresh_token cookie to be transmitted over unencrypted HTTP connections, making it susceptible to interception via man-in-the-middle attacks.

This exposure of sensitive authentication tokens can lead to unauthorized access and data breaches, which may violate data protection requirements under regulations such as GDPR and HIPAA.

Specifically, GDPR and HIPAA require appropriate technical measures to protect personal and health information during transmission, including encryption and secure handling of authentication credentials.

By not setting the Secure flag on cookies, the application fails to ensure that sensitive tokens are only sent over encrypted channels, potentially compromising compliance with these standards.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart