Vulnerability · Published Nov 17, 2020 · Assigned by GitHub_M
CVE-2020-26216Cross-Site Scripting in TYPO3 Fluid
High 8.0
In plain English
A high-severity cross-site scripting in Fluid from TYPO3. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
TYPO3 Fluid before versions 2.0.8, 2.1.7, 2.2.4, 2.3.7, 2.4.4, 2.5.11 and 2.6.10 is vulnerable to Cross-Site Scripting. Three XSS vulnerabilities have been detected in Fluid: 1. TagBasedViewHelper allowed XSS through maliciously crafted additionalAttributes arrays by creating keys with attribute-closing quotes followed by HTML. When rendering such attributes, TagBuilder would not escape the keys. 2. ViewHelpers which used the CompileWithContentArgumentAndRenderStatic trait, and which declared escapeOutput = false, would receive the content argument in unescaped format. 3. Subclasses of AbstractConditionViewHelper would receive the then and else arguments in unescaped format. Update to versions 2.0.8, 2.1.7, 2.2.4, 2.3.7, 2.4.4, 2.5.11 or 2.6.10 of this typo3fluid/fluid package that fix the problem described. More details are available in the linked advisory.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | typo3fluid/fluid | 2.0.8 | GHSA-hpjm-3ww5-6cpf |
| Packagist | typo3fluid/fluid | 2.1.7 | GHSA-hpjm-3ww5-6cpf |
| Packagist | typo3fluid/fluid | 2.2.4 | GHSA-hpjm-3ww5-6cpf |
| Packagist | typo3fluid/fluid | 2.3.7 | GHSA-hpjm-3ww5-6cpf |
| Packagist | typo3fluid/fluid | 2.4.4 | GHSA-hpjm-3ww5-6cpf |
| Packagist | typo3fluid/fluid | 2.5.11 | GHSA-hpjm-3ww5-6cpf |
| Packagist | typo3fluid/fluid | 2.6.10 | GHSA-hpjm-3ww5-6cpf |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/TYPO3/Fluid/security/advisories/GHSA-hpjm-3ww5-6cpf x_refsource_CONFIRM
- https://github.com/TYPO3/Fluid/commit/f20db4e74cf9803c6cffca2ed2f03e1b0b89d0dc x_refsource_MISC
- https://typo3.org/security/advisory/typo3-core-sa-2020-009 x_refsource_MISC