CVE-2026-39963
MEDIUM 6.9CVSS 3.1Serendipity 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | s9y | serendipitycpe:2.3:a:s9y:serendipity:*:*:*:*:*:*:*:* |
< 2.6.0 | 2.6.0 |
| NVD | s9y | serendipitycpe:2.3:a:s9y:serendipity:2.6.0:beta1:*:*:*:*:*:* |
= 2.6.0 | |
| OSV | Packagist | s9y/serendipity | < 2.6.0 | 2.6.0 |
References
- https://github.com/s9y/Serendipity/releases/tag/2.6.0 · Product, WEB
- https://github.com/s9y/Serendipity/security/advisories/GHSA-4m6c-649p-f6gf · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39963 · ADVISORY
- https://github.com/s9y/Serendipity · PACKAGE
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)