Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. s9y/serendipity
  4. ›
  5. CVE-2026-39963

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

April 14, 2026 (updated April 15, 2026)

The serendipity_setCookie() function uses $_SERVER['HTTP_HOST'] without validation as the domain parameter of setcookie(). An attacker can force authentication cookies — including session tokens and auto-login tokens — to be scoped to an attacker-controlled domain, facilitating session hijacking.

References

  • github.com/advisories/GHSA-4m6c-649p-f6gf
  • github.com/s9y/Serendipity
  • github.com/s9y/Serendipity/releases/tag/2.6.0
  • github.com/s9y/Serendipity/security/advisories/GHSA-4m6c-649p-f6gf
  • nvd.nist.gov/vuln/detail/CVE-2026-39963

Code Behaviors & Features

Detect and mitigate CVE-2026-39963 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.0

Fixed versions

  • 2.6.0

Solution

Upgrade to version 2.6.0 or above.

Impact 6.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-565: Reliance on Cookies without Validation and Integrity Checking

Source file

packagist/s9y/serendipity/CVE-2026-39963.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:23 +0000.