HTTP Host Header Injection
Meta
- CVSS:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:F/RL:O/RC:C(3.5)
Problem
It has been discovered that TYPO3 CMS is susceptible to host spoofing due to improper validation of the HTTP Host header. TYPO3 uses the HTTP Host header, for example, to generate absolute URLs during the frontend rendering process. Since the host header itself is provided by the client, it can be forged to any value, even in a name-based virtual hosts environment.
This vulnerability is the same as described in TYPO3-CORE-SA-2014-001 (CVE-2014-3941). A regression, introduced during TYPO3 v11 development, led to this situation. The already existing setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] (used as an effective mitigation strategy in previous TYPO3 versions) was not evaluated anymore, and reintroduced the vulnerability.
Solution
Update your instance to TYPO3 version 11.5.0 which addresses the problem described.
Credits
Thanks to TYPO3 framework merger Benjamin Franzke who reported and fixed the issue.
References
- TYPO3-CORE-SA-2021-015
- CVE-2014-3941 reintroduced in TYPO3 v11.0.0
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | typo3/cms | >= 11.0.0, < 11.5.0 | 11.5.0 |
| Composer package | typo3/cms-core | >= 11.0.0, < 11.5.0 | 11.5.0 |
References
- https://github.com/TYPO3/typo3/security/advisories/GHSA-m2jh-fxw4-gphm
- https://nvd.nist.gov/vuln/detail/CVE-2014-3941
- https://nvd.nist.gov/vuln/detail/CVE-2021-41114
- https://github.com/TYPO3/typo3/commit/5cbff85506cebe343e5ae59228977547cf8e3cf4
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-41114.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-41114.yaml
- https://github.com/TYPO3/typo3
- https://typo3.org/security/advisory/typo3-core-sa-2021-015
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L- Weakness (CWE)
CWE-20, CWE-644- Platform
- Composer
- Package
typo3/cms, typo3/cms-core- Disclosed
- 05.10.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-m2jh-fxw4-gphm - CC BY 4.0
Vulnerability history: typo3/cms-core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 128
- First → latest
- 09.2018 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 35
- Medium 84
- Low 8
Disclosures per year
- 2018: 2
- 2019: 0
- 2020: 13
- 2021: 15
- 2022: 34
- 2023: 3
- 2024: 38
- 2025: 8
- 2026: 15
-
HTTP Host Header Injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.