GHSA-h4mx-xv96-2jgm
Cross-Site Scripting in TYPO3's Frontend Login Mailer
Quick fix
GHSA-h4mx-xv96-2jgm — typo3/cms-core: upgrade to the fixed version with the command below.
composer require typo3/cms-core:^9.5.35Details
> ### Meta > * CVSS: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (4.9)
### Problem User submitted content was used without being properly encoded in HTML emails sent to users. The actually affected components were mail clients used to view those messages.
### Solution Update to TYPO3 versions 9.5.35 ELTS, 10.4.29, 11.5.11 that fix the problem described above.
### Credits Thanks to Christian Seifert who reported this issue and to TYPO3 framework merger Andreas Fernandez who fixed the issue.
### References * [TYPO3-CORE-SA-2022-004](https://typo3.org/security/advisory/typo3-core-sa-2022-004)
Are you affected?
Enter the version of the package you're using.
Affected packages
9.0.0Fixed in: 9.5.35composer require typo3/cms-core:^9.5.3510.0.0Fixed in: 10.4.29composer require typo3/cms-core:^10.4.2911.0.0Fixed in: 11.5.11composer require typo3/cms-core:^11.5.11References
- https://github.com/TYPO3/typo3/security/advisories/GHSA-h4mx-xv96-2jgm[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-31049[ADVISORY]
- https://github.com/TYPO3/typo3/commit/da611775f92102d7602713003f4c79606c8a445d[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2022-31049.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2022-31049.yaml[WEB]
- https://github.com/TYPO3-CMS/core[PACKAGE]
- https://typo3.org/security/advisory/typo3-core-sa-2022-004[WEB]