cve.bz

CVE-2023-24814 typo3 typo3: Cross-site Scripting

6.1 mediumExploit referenceEPSS 0.8%Fix available

Medium (6.1) in typo3 typo3. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in typo3/cms-core 10.4.36, 11.5.23, 12.2.0.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-03-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-24814 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-24814?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-24814?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-24814 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
typo3:typo3from 8.7.0 before 9.7.51
typo3:typo3from 9.0.0 before 9.5.40
typo3:typo3from 10.0.0 before 10.4.36
typo3:typo3from 11.0.0 before 11.5.23
typo3:typo3from 12.0.0 before 12.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms-core>=12.0.0 <12.2.012.2.0
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms-core>=11.0.0 <11.5.2311.5.23
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms-core>=10.0.0 <10.4.3610.4.36
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms-core>=9.0.0 <9.5.409.5.40
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms-core>=8.7.0 <8.7.518.7.51
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms>=10.0.0 <10.4.3510.4.35
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms>=11.0.0 <11.5.2311.5.23
GHSA-r4f8-f93x-5qh3Packagisttypo3/cms>=12.0.0 <12.2.012.2.0

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON