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

CVE-2026-39971: Serendipity has a Host Header Injection allows SMTP header injection via unvalidated HTTP_HOST in Message-ID email header

April 14, 2026 (updated April 27, 2026)

Serendipity inserts $_SERVER['HTTP_HOST'] directly into the Message-ID SMTP header without any validation beyond CRLF stripping. An attacker who can control the Host header during an email-triggering action can inject arbitrary SMTP headers into outgoing emails, enabling spam relay, BCC injection, and email spoofing.

References

  • github.com/advisories/GHSA-458g-q4fh-mj6r
  • github.com/s9y/Serendipity/releases/tag/2.6.0
  • github.com/s9y/Serendipity/security/advisories/GHSA-458g-q4fh-mj6r
  • nvd.nist.gov/vuln/detail/CVE-2026-39971

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.6.0

Fixed versions

  • 2.6.0

Solution

Upgrade to version 2.6.0 or above.

Impact 7.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:43 +0000.