CVE-2024-47069: Contao Unvalidated Locale Xss
A locale parameter passed to a controller action is assigned directly to a template property (e.g., `language`, `locale`, `lang`) without validation. This can lead to Reflected Cross-Site Scripting (XSS) when the property is rendered in an HTML template (like in a `lang` attribute). Ensure that the locale is validated using `\Contao\Validator::isLocale()` be
greprules fetch cve-2024-47069-contao-unvalidated-locale-xss --engine opengrepDescription
A locale parameter passed to a controller action is assigned directly to a template property (e.g., `language`, `locale`, `lang`) without validation. This can lead to Reflected Cross-Site Scripting (XSS) when the property is rendered in an HTML template (like in a `lang` attribute). Ensure that the locale is validated using `\Contao\Validator::isLocale()` be
Community feedback
0 signals from signed-in users.
- Useful
- 0
- False positive
- 0
- Metadata
- 0