Sensitive Cookie Without 'HttpOnly' Flag in WeGIA - #VU166192
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to steal authentication session identifiers and potentially impersonate authenticated users.
The vulnerability exists due to omission of the HttpOnly attribute in WeGIA's PHP session cookie configuration when issuing PHPSESSID cookies. A remote attacker can leverage JavaScript execution in the application's origin, for example through cross-site scripting, to read PHPSESSID through document.cookie and potentially reuse the identifier to impersonate the associated user while the session remains valid.