CVE-2023-24814
Persisted Cross-Site Scripting in Frontend Rendering in typo3
Also known as BIT-typo3-2023-24814, GHSA-r4f8-f93x-5qh3
Mitigation
- Upgrade typo3/cms-core to one of 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51 (or later in the same release line).
- Upgrade typo3/cms to one of 10.4.35, 11.5.23, 12.2.0 (or later in the same release line).
Who should check
- Projects that depend on Packagist package typo3/cms-core (>= 12.0.0, < 12.2.0)
- Projects that depend on Packagist package typo3/cms (>= 10.0.0, < 10.4.35)
- Anyone running typo3 >= 8.7.0, < 8.7.51; >= 9.0.0, < 9.5.40; >= 10.0.0, < 10.4.36; 11.0.0, < 11.5.23; >= 12.0.0, < 12.2.0
Vulnerability facts
- Affected
- typo3/cms-core >= 12.0.0, < 12.2.0; typo3/cms >= 10.0.0, < 10.4.35
- Fixed in
- 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51, 10.4.35
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.83% chance of exploitation in 30 days (percentile 55, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
TYPO3 is a free and open source Content Management Framework released under the GNU General Public License. In affected versions the TYPO3 core component `GeneralUtility::getIndpEnv()` uses the unfiltered server environment variable `PATH_INFO`, which allows attackers to inject malicious content. In combination with the TypoScript setting `config.absRefPrefix=auto`, attackers can inject malicious HTML code to pages that have not been rendered and cached, yet. As a result, injected values would be cached and delivered to other website visitors (persisted cross-site scripting). Individual code which relies on the resolved value of `GeneralUtility::getIndpEnv('SCRIPT_NAME')` and corresponding usages (as shown below) are vulnerable as well. Additional investigations confirmed that at least Apache web server deployments using CGI (FPM, FCGI/FastCGI, and similar) are affected. However, there still might be the risk that other scenarios like nginx, IIS, or Apache/mod_php are vulnerable. The usage of server environment variable `PATH_INFO` has been removed from corresponding processings in `GeneralUtility::getIndpEnv()`. Besides that, the public property `TypoScriptFrontendController::$absRefPrefix` is encoded for both being used as a URI component and for being used as a prefix in an HTML context. This mitigates the cross-site scripting vulnerability. Users are advised to update to TYPO3 versions 8.7.51 ELTS, 9.5.40 ELTS, 10.4.35 LTS, 11.5.23 LTS and 12.2.0 which fix this problem. For users who are unable to patch in a timely manner the TypoScript setting `config.absRefPrefix` should at least be set to a static path value, instead of using auto - e.g. `config.absRefPrefix=/`. This workaround **does not fix all aspects of the vulnerability**, and is just considered to be an intermediate mitigation to the most prominent manifestation.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist typo3/cms-core | >= 12.0.0, < 12.2.0 | 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51 | osv |
| Packagist typo3/cms | >= 10.0.0, < 10.4.35 | 10.4.35, 11.5.23, 12.2.0 | osv |
| typo3 | >= 8.7.0, < 8.7.51; >= 9.0.0, < 9.5.40; >= 10.0.0, < 10.4.36; 11.0.0, < 11.5.23; >= 12.0.0, < 12.2.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-24814. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-24814.md Affected: typo3/cms-core >= 12.0.0, < 12.2.0; typo3/cms >= 10.0.0, < 10.4.35 Fixed in: 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51, 10.4.35 Steps: 1. Search this machine and project for typo3/cms-core (Packagist), typo3/cms (Packagist), typo3: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Setup/Config/Index.html#absrefprefix
- https://github.com/TYPO3/typo3/blob/v11.5.22/typo3/sysext/core/Classes/Utility/GeneralUtility.php#L2481-L2484
- https://github.com/TYPO3/typo3/blob/v11.5.22/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php#L2547-L2549
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2023-24814.yaml
- https://github.com/TYPO3/typo3
FAQ
Is CVE-2023-24814 being exploited?
There is no confirmed exploitation: CVE-2023-24814 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-24814?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-24814?
typo3/cms-core >= 12.0.0, < 12.2.0; typo3/cms >= 10.0.0, < 10.4.35.
Is there a fix for CVE-2023-24814?
Yes. Fixed in 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51, 10.4.35. Upgrade typo3/cms-core to one of 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51 (or later in the same release line). Upgrade typo3/cms to one of 10.4.35, 11.5.23, 12.2.0 (or later in the same release line).
How do I check if I'm affected by CVE-2023-24814?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.