Wysoka

TYPO3 is vulnerable to Cross-Site Scripting via frontend rendering

  • Ujawniono: 08.02.2023
  • Aktualizacja: 11.10.2026 10:22

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L/E:F/RL:O/RC:C (8.2)

Problem

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 into pages that have not yet been rendered and cached. 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.

  • GeneralUtility::getIndpEnv('PATH_INFO')
  • GeneralUtility::getIndpEnv('SCRIPT_NAME')
  • GeneralUtility::getIndpEnv('TYPO3_REQUEST_DIR')
  • GeneralUtility::getIndpEnv('TYPO3_REQUEST_SCRIPT')
  • GeneralUtility::getIndpEnv('TYPO3_SITE_PATH')
  • GeneralUtility::getIndpEnv('TYPO3_SITE_SCRIPT')
  • GeneralUtility::getIndpEnv('TYPO3_SITE_URL')

Installations of TYPO3 versions 8.7 and 9.x are probably only affected when server environment variable TYPO3_PATH_ROOT is defined - which is the case if they were installed via Composer.

Additional investigations confirmed that Apache and Microsoft IIS web servers using PHP-CGI (FPM, FCGI/FastCGI, or similar) are affected. There might be the risk that nginx is vulnerable as well. It was not possible to exploit Apache/mod_php scenarios.

Solution

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.

Update to TYPO3 versions 8.7.51 ELTS, 9.5.40 ELTS, 10.4.36 LTS, 11.5.23 LTS and 12.2.0 that fix the problem described above.

ℹ️ Strong security defaults - Manual actions required Any web server using PHP-CGI (FPM, FCGI/FastCGI, or similar) needs to ensure that the PHP setting cgi.fix_pathinfo=1 is used, which is the default PHP setting. In case this setting is not enabled, an exception is thrown to avoid continuing with invalid path information.

For websites that cannot be patched timely the TypoScript setting config.absRefPrefix at least should be set to a static path value, instead of using auto - e.g. config.absRefPrefix=/ - this does not fix all aspects of the vulnerability, and is just considered to be an intermediate mitigation to the most prominent manifestation.

References

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka Composer typo3/cms >= 10.0.0, < 10.4.35, >= 11.0.0, < 11.5.23, >= 12.0.0, < 12.2.0 10.4.35, 11.5.23, 12.2.0
Paczka Composer typo3/cms-core >= 12.0.0, < 12.2.0, >= 11.0.0, < 11.5.23, >= 10.0.0, < 10.4.36, >= 9.0.0, < 9.5.40, >= 8.7.0, < 8.7.51 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51

Odnośniki

Ocena CVSS 8.8/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
Słabość (CWE)
CWE-79
Platforma
Composer
Paczka
typo3/cms, typo3/cms-core
Ujawniono
08.02.2023
Aktualizacja
11.10.2026 10:22

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-r4f8-f93x-5qh3 - CC BY 4.0

Historia podatności: typo3/cms-core

Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (128) w archiwum
Wszystkich wpisów
128
Pierwsza → ostatnia
09.2018 09.2026
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Krytyczna 1
  • Wysoka 35
  • Średnia 84
  • Niska 8

Ujawnienia w latach

  1. 2018: 2
  2. 2019: 0
  3. 2020: 13
  4. 2021: 15
  5. 2022: 34
  6. 2023: 3
  7. 2024: 38
  8. 2025: 8
  9. 2026: 15
Istotność:
  1. Wysoka CVE-2026-19418 >= 14.0.0, < 14.3.6 14.3.6
  2. Wysoka CVE-2026-11607 < 10.4.57, >= 11.0.0, < 11.5.51, >= 12.0.0, < 12.4.46, >= 13.0.0, < 13.4.31, >= 14.0.0, < 14.3.3 10.4.57, 11.5.51, 12.4.46, 13.4.31, 14.3.3
  3. Wysoka CVE-2026-47343 < 10.4.57, >= 11.0.0, < 11.5.51, >= 12.0.0, < 12.4.46, >= 13.0.0, < 13.4.31, >= 14.0.0, < 14.3.3 10.4.57, 11.5.51, 12.4.46, 13.4.31, 14.3.3
  4. Wysoka CVE-2026-49741 >= 14.0.0, < 14.3.3 14.3.3
  5. Wysoka CVE-2026-47346 < 10.4.57, >= 11.0.0, < 11.5.51, >= 12.0.0, < 12.4.46, >= 13.0.0, < 13.4.31, >= 14.0.0, < 14.3.3 10.4.57, 11.5.51, 12.4.46, 13.4.31, 14.3.3
  6. Wysoka CVE-2026-49742 >= 11.0.0, < 11.5.51, >= 12.0.0, < 12.4.46, >= 13.0.0, < 13.4.31, >= 14.0.0, < 14.3.3 11.5.51, 12.4.46, 13.4.31, 14.3.3
  7. Wysoka · 7.2 CVE-2025-47940 >= 10.4.0, < 10.4.50, >= 11.0.0, < 11.5.44, >= 12.0.0, < 12.4.31, >= 13.0.0, < 13.4.12 10.4.50, 11.5.44, 12.4.31, 13.4.12
  8. Wysoka · 8.1 ghsa-5h5v-m596-r6rf >= 8.0.0, < 8.7.30, >= 9.0.0, < 9.5.12 8.7.30, 9.5.12
  9. Wysoka · 8.8 ghsa-x428-565f-8xj2 >= 8.0.0, < 8.7.27, >= 9.0.0, < 9.5.8 8.7.27, 9.5.8
  10. Wysoka · 8.2 ghsa-82vp-jr39-4j2j >= 8.0.0, < 8.7.27, >= 9.0.0, < 9.5.8 8.7.27, 9.5.8
  11. Wysoka · 8.8 ghsa-f9hr-7cfq-mjg2 >= 8.0.0, < 8.7.23, >= 9.0.0, < 9.5.4 8.7.23, 9.5.4
  12. Wysoka · 7.5 ghsa-rxc9-f2x6-qh4w >= 8.0.0, < 8.7.23, >= 9.0.0, < 9.5.4 8.7.23, 9.5.4
  13. Wysoka · 7.5 ghsa-hjx5-v9xg-7h25 >= 8.0.0, < 8.7.21, >= 7.0.0, < 7.6.32 8.7.21, 7.6.32
  14. Wysoka · 7.5 ghsa-ppvg-hw62-6ph9 >= 8.0.0, < 8.7.21, >= 9.0.0, < 9.5.2, >= 7.0.0, < 7.6.32 8.7.21, 9.5.2, 7.6.32
  15. Wysoka · 7.5 ghsa-96jg-pmc4-cx39 >= 8.5.0, < 8.7.17, >= 9.0.0, < 9.3.1 8.7.17, 9.3.1
  16. Wysoka · 7.5 ghsa-45wj-jv2h-jwrf >= 8.5.0, < 8.7.17, >= 9.0.0, < 9.3.2 8.7.17, 9.3.2
  17. Krytyczna · 9.8 ghsa-cc97-g92w-jm65 >= 8.0.0, < 8.7.17, >= 9.0.0, < 9.3.2, >= 7.0.0, < 7.6.30 8.7.17, 9.3.2, 7.6.30
  18. Wysoka · 7.5 ghsa-x4rj-f7m6-42c3 >= 8.0.0, < 8.7.17, >= 9.0.0, < 9.3.2, >= 7.0.0, < 7.6.30 8.7.17, 9.3.2, 7.6.30
  19. Wysoka · 7.2 CVE-2024-22188 >= 8.0.0, < 8.7.57, >= 9.0.0, < 9.5.46, >= 10.0.0, < 10.4.43, >= 11.0.0, < 11.5.35, >= 12.0.0, < 12.4.11, >= 13.0.0, < 13.0.1 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1
  20. Wysoka · 7.1 CVE-2024-25121 >= 8.0.0, < 8.7.57, >= 9.0.0, < 9.5.46, >= 10.0.0, < 10.4.43, >= 11.0.0, < 11.5.35, >= 12.0.0, < 12.4.11, >= 13.0.0, < 13.0.1 8.7.57, 9.5.46, 10.4.43, 11.5.35, 12.4.11, 13.0.1
  21. TYPO3 is vulnerable to Cross-Site Scripting via frontend rendering ten wpis
    Wysoka · 8.8 CVE-2023-24814 >= 12.0.0, < 12.2.0, >= 11.0.0, < 11.5.23, >= 10.0.0, < 10.4.36, >= 9.0.0, < 9.5.40, >= 8.7.0, < 8.7.51 12.2.0, 11.5.23, 10.4.36, 9.5.40, 8.7.51
  22. Wysoka · 7.5 CVE-2022-23503 >= 8.0.0, < 8.7.49, >= 9.0.0, < 9.5.38, >= 10.0.0, < 10.4.33, >= 11.0.0, < 11.5.20, >= 12.0.0, < 12.1.1 8.7.49, 9.5.38, 10.4.33, 11.5.20, 12.1.1
  23. Wysoka · 8.8 CVE-2019-12747 >= 8.0.0, < 8.7.27, >= 9.0.0, < 9.5.8 8.7.27, 9.5.8
  24. Wysoka · 7.5 CVE-2019-11832 >= 8.0.0, < 8.7.25, >= 9.0.0, < 9.5.6 8.7.25, 9.5.6
  25. Wysoka · 8.8 CVE-2019-19849 >= 10.0.0, < 10.2.1, >= 8.0.0, < 8.7.30, >= 9.0.0, < 9.5.12 10.2.1, 8.7.30, 9.5.12
  26. Wysoka · 7.4 CVE-2013-1842 >= 4.5.0, < 4.5.24, >= 4.6.0, < 4.6.17, >= 4.7.0, < 4.7.9, >= 6.0.0, < 6.0.3 4.5.24, 4.6.17, 4.7.9, 6.0.3
  27. Wysoka · 8.8 CVE-2021-41113 >= 11.2.0, < 11.5.0 11.5.0
  28. Wysoka · 8.3 CVE-2021-21357 >= 10.0.0, < 10.4.14, >= 11.0.0, < 11.1.1, >= 9.0.0, < 9.5.25 10.4.14, 11.1.1, 9.5.25
  29. Wysoka · 8.6 CVE-2021-21355 >= 10.0.0, < 10.4.14, >= 11.0.0, < 11.1.1, >= 9.0.0, < 9.5.25 10.4.14, 11.1.1, 9.5.25
  30. Wysoka · 8.1 CVE-2020-26228 >= 9.0.0, < 9.5.23, >= 10.0.0, < 10.4.10, >= 8.7.0, < 8.7.38 9.5.23, 10.4.10, 8.7.38
  31. Wysoka · 8.1 CVE-2020-15099 >= 9.0.0, < 9.5.20, >= 10.0.0, < 10.4.6 9.5.20, 10.4.6
  32. Wysoka · 8.8 CVE-2020-15098 >= 9.0.0, < 9.5.20, >= 10.0.0, < 10.4.6 9.5.20, 10.4.6
  33. Wysoka · 8.0 CVE-2020-11069 >= 9.0.0, < 9.5.17, >= 10.0.0, < 10.4.2 9.5.17, 10.4.2
  34. Wysoka · 8.8 CVE-2020-11067 >= 9.0.0, < 9.5.17, >= 10.0.0, < 10.4.2 9.5.17, 10.4.2
  35. Wysoka · 8.7 CVE-2020-11066 >= 9.0.0, < 9.5.17, >= 10.0.0, < 10.4.2 9.5.17, 10.4.2
  36. Wysoka · 7.1 CVE-2019-10912 >= 9.0.0, < 9.5.8 9.5.8

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.