Security mailing lists by PureSourceCode

CVE-2026-39963

MEDIUM 6.9CVSS 3.1

Serendipity has a Host Header Injection allows authentication cookie scoping to attacker-controlled domain in functions_config.inc.php

Serendipity is a PHP-powered weblog engine. In versions 2.6-beta2 and below, the serendipity_setCookie() function in include/functions_config.inc.php uses $_SERVER['HTTP_HOST'] without validation as the domain parameter of setcookie(). An attacker who can influence the Host header at login time, such as via MITM, reverse proxy misconfiguration, or load balancer manipulation, can force authentication cookies including session tokens and auto-login tokens to be scoped to an attacker-controlled domain. This enables session fixation, token leakage to attacker-controlled infrastructure, and privilege escalation if an admin logs in under a poisoned Host header. This issue has been fixed in version 2.6.0.

Published
15 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-565
Also known as
GHSA-4m6c-649p-f6gf
Sources
NVDJSONOSV GHSA-4m6c-649p-f6gfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD s9y serendipity
cpe:2.3:a:s9y:serendipity:*:*:*:*:*:*:*:*
< 2.6.0 2.6.0
NVD s9y serendipity
cpe:2.3:a:s9y:serendipity:2.6.0:beta1:*:*:*:*:*:*
= 2.6.0
OSV Packagist s9y/serendipity < 2.6.0 2.6.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.