CVE-2022-31629

MEDIUM6.5EPSS 15.4%

$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

Published: 9/28/2022Modified: 4/28/2026

Description

In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

Affected packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References (16)