CVE-2026-39971 in S9Y Serendipity
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 HT...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| S9Y | Serendipity | 2.6.0 < 2.6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-39971 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151849-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Published | 2026-04-15 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-113: CWE-113
Related attack patterns (CAPEC)
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-113
CAPEC-34 HTTP Response Splitting via CWE-113
CAPEC-85 AJAX Footprinting via CWE-113
CAPEC-105 HTTP Request Splitting via CWE-113
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Serendipity versions 2.6-beta2 and below are vulnerable to an email header injection attack due to improper validation and sanitization of the HTTP_HOST server variable in the email sending functionality.
An attacker can control the Host header during an HTTP request, which is then directly inserted into the Message-ID SMTP header without validation. This can lead to email header injection, potentially allowing the attacker to manipulate email headers and perform various attacks such as email spoofing or phishing.
Questions
What is CVE-2026-39971?
Serendipity versions 2.6-beta2 and below are vulnerable to an email header injection attack due to improper validation and sanitization of the HTTP_HOST server variable in the email sending functionality.
What is the CVSS score for CVE-2026-39971?
CVE-2026-39971 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2026-39971 actively exploited?
No confirmed active exploitation of CVE-2026-39971 as of 2026-11-03.
How do I remediate CVE-2026-39971?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-39971?
CVE-2026-39971 affects S9Y Serendipity.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"S9Y","product":"Serendipity","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.