CVE-2026-39963
published medium CVSS 3.1 · 6.9Serendipity: Host Header Injection enables authentication cookie scoping to an attacker-controlled domain
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| s9y | — | Serendipity< 2.6.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| s9y | Serendipity | < 2.6.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-565 CWE-565: Reliance on Cookies without Validation and Integrity Checking
References
2Provider assertions
2GitHub_M · cna
Serendipity: Host Header Injection enables authentication cookie scoping to an attacker-controlled domain
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6dbdaa06c111c45762cd005a589d9c21ebb02b5991d97c3b3c14fb16ec6e0ee7
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record