{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-39971","id":"CVE-2026-39971","title":"Serendipity: Host Header Injection leads to SMTP header injection via unvalidated HTTP_HOST","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 ","descriptionLong":"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.","published":"2026-04-14T23:35:49.305Z","updated":"2026-10-28T02:30:50.735311279Z","reserved":"2026-04-08T00:01:47.627Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["s9y Serendipity"],"affectedProducts":[{"vendor":"s9y","product":"Serendipity","defaultStatus":null,"versions":[{"version":"< 2.6.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"s9y/serendipity","purl":"pkg:composer/s9y/serendipity","ranges":["<2.6.0"],"fixed":["2.6.0"],"advisory":"GHSA-458g-q4fh-mj6r"}],"cwes":["CWE-113"],"aliases":["GHSA-458g-q4fh-mj6r"],"references":[{"url":"https://github.com/s9y/Serendipity/security/advisories/GHSA-458g-q4fh-mj6r","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/s9y/Serendipity/releases/tag/2.6.0","tags":["x_refsource_MISC","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39971.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39971","tags":["advisory"]},{"url":"https://github.com/s9y/Serendipity","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00259,"epssPercentile":0.17872,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-39971","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39971","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-39971","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-458g-q4fh-mj6r","ok":true,"note":"GHSA-458g-q4fh-mj6r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-39971","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}