Persisted Cross-Site Scripting in Frontend Rendering in typo3
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. F
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-24814
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:35 UTC · Revision 1
Source evidence
Persisted Cross-Site Scripting in Frontend Rendering in typo3
core-osv · Original sourcePublished 7 Feb 2023, 18:14 UTC
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. F
osv:CVE-2023-24814
Complete source record
{
"id": "36324dc910b6c087f2f5f71a77cc768f9044e25051961d5bb666037505d06754",
"url": "https://osv.dev/vulnerability/CVE-2023-24814",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Persisted Cross-Site Scripting in Frontend Rendering in typo3",
"summary": "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. F",
"evidence": "osv:CVE-2023-24814",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-24814",
"aliases": [
"BIT-typo3-2023-24814",
"CVE-2023-24814",
"GHSA-r4f8-f93x-5qh3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/typo3/typo3",
"type": "GIT",
"events": [
{
"introduced": "c91b70e450c52d29ffb08115fffbb7832b15a330"
},
{
"fixed": "107b1bdd90d088772b344e7fd541adbc3666d0af"
},
{
"introduced": "6a5e2d4097ef0a0e3ea955af93cf83810d6fa234"
},
{
"fixed": "03f79d4d1b40c44db3403372e8a1cc5e2bdf6b7d"
},
{
"introduced": "36096733dea4bd6f6168209609fa879dc25c0138"
},
{
"fixed": "40c555936c3cd0fa0c09a5971b73b796bd1b9596"
},
{
"fixed": "0005a6fd86ab97eff8bf2e3a5828bf0e7cb6263a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.0.0"
},
{
"fixed": "10.4.36"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11.0.0"
},
{
"fixed": "11.5.23"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "12.0.0"
},
{
"fixed": "12.2.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "0005a6fd86ab97eff8bf2e3a5828bf0e7cb6263a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v10.4.35",
"v11.5.22",
"v11.5.21",
"v10.4.34",
"v11.5.20",
"v10.4.33",
"v12.1.0",
"v11.5.19",
"v11.5.18",
"v11.5.17",
"v12.0.0",
"v11.5.16",
"v10.4.32",
"v11.5.15",
"v11.5.14",
"v11.5.13",
"v10.4.31",
"v11.5.12",
"v10.4.30",
"v11.5.11",
"v10.4.29",
"v11.5.10",
"v10.4.28",
"v11.5.9",
"v10.4.27",
"v11.5.8",
"v10.4.26",
"v11.5.7",
"v10.4.25",
"v10.4.24",
"v11.5.6",
"v11.5.5",
"v10.4.23",
"v10.4.22",
"v11.5.4",
"v11.5.3",
"v11.5.2",
"v11.5.1",
"v11.5.0",
"v10.4.21",
"v11.4.0",
"v10.4.20",
"v10.4.19",
"v10.4.18",
"v11.3.0",
"v10.4.17",
"v10.4.16",
"v11.2.0",
"v10.4.15",
"v10.4.14",
"v11.1.0",
"v10.4.13",
"v11.0.0",
"v10.4.12",
"v10.4.11",
"v10.4.10",
"v10.4.9",
"v10.4.8",
"v10.4.7",
"v10.4.6",
"v10.4.5",
"v10.4.4",
"v10.4.3",
"v10.4.2",
"v10.4.1",
"v10.4.0",
"v10.3.0",
"v10.2.0",
"v10.1.0",
"v10.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-24814.json"
}
}
],
"modified": "2026-10-28T02:30:45.789816047Z",
"provider": "osv",
"references": [
"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/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24814.json",
"https://github.com/TYPO3/typo3/security/advisories/GHSA-r4f8-f93x-5qh3",
"https://nvd.nist.gov/vuln/detail/CVE-2023-24814",
"https://typo3.org/security/advisory/typo3-core-sa-2023-001",
"https://typo3.org/security/advisory/typo3-psa-2023-001",
"https://github.com/TYPO3/typo3/commit/0005a6fd86ab97eff8bf2e3a5828bf0e7cb6263a"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "11.0.0, < 11.5.23"
},
{
"last_affected": "11.0.0, < 11.5.23"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "8.7.0"
},
{
"fixed": "8.7.51"
},
{
"introduced": "9.0.0"
},
{
"fixed": "9.5.40"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24814.json"
}
},
"related_cves": [
{
"value": "CVE-2023-24814",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513913,
"published_at": "2023-02-07T18:14:29.388+00:00"
}