All vulnerabilities

Servers and applications

CVE-2022-31629

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.

Severity
Medium 6.5
Published
28 Sept 2022
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
7.4.31, 8.0.24, 8.1.11
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version before 7.4.31
  • From 8.0.0 before 8.0.24
  • From 8.1.0 before 8.1.11

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2022-31629
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2022-31629