SecurityContext

CVE-2026-39971: Serendipity - Email Header Injection

  • Cve: CVE-2026-39971
  • Name: Serendipity - Email Header Injection
  • Description: Serendipity is a PHP-powered weblog engine. In versions 2.6-beta2 and below, the email sending functionality in include/functions.inc.php inserts $_SERVER['HTTP_HOST'] directly into the Message-ID SMTP header without validation, and the existing sanitization function serendipity_isResponseClean() is not called on HTTP_HOST before embedding it. An attacker who can control the Host header during an email-triggering action such as comment notifications or subscription emails can inject arbitrary SMTP headers into outgoing emails. This enables identity spoofing, reply hijacking via manipulated Message-ID threading, and email reputation abuse through the attacker's domain being embedded in legitimate mail headers. This issue has been fixed in version 2.6.0.
  • Impact: Attackers can spoof email identity, hijack replies, and abuse email reputation by injecting malicious SMTP headers.
  • Remediation: Update to version 2.6.0 or later.
  • Requirements: Attacker must control Host header during email-triggering actions
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Epss score: 0.00259
  • Epss percentile: 0.17606
  • Assignee: [email protected]
  • Published at: 2026-04-15T04:17:39Z
  • Age in days: 223
  • Modified at: 2026-10-26T22:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-39971
  • Nvd status: analyzed
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-113Improper Neutralization of CRLF Sequences in HTTP Headers

Public exploits

UrlSourceAdded date
https://github.com/s9y/Serendipity/security/advisories/GHSA-458g-q4fh-mj6rnvd2026-04-15

References

UrlSourceTags
https://github.com/s9y/Serendipity/releases/tag/2.6.0nvdPatch
https://github.com/s9y/Serendipity/security/advisories/GHSA-458g-q4fh-mj6rnvdExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
s9y:serendipity< 2.6.0, = 2.6.0 beta1nonvd/v1/products/s9y/serendipity

Projects

RepositoryLink kindsIndexedUrl
s9y/Serendipitypackage, releases, security_advisoryyes/v1/repositories/s9y/Serendipity

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts