GitHub Advisoryadvisory · Packagist

GHSA-7733-hjv6-4h47 Cross-Site Scripting in ternary conditional operator

MEDIUM Published 2020-10-08 Modified 2021-11-19 Official page ↗
Aliases
CVE-2020-15241
Ecosystem
Packagist
Packages
typo3fluid/fluid, typo3/cms-core, typo3/cms
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-601, CWE-79
Reviewed
2020-10-08

Affected packages

• Packagist typo3fluid/fluid: >= 2.0.0, < 2.0.5 → fixed in 2.0.5 • Packagist typo3fluid/fluid: >= 2.1.0, < 2.1.4 → fixed in 2.1.4 • Packagist typo3fluid/fluid: >= 2.2.0, < 2.2.1 → fixed in 2.2.1 • Packagist typo3fluid/fluid: >= 2.3.0, < 2.3.5 → fixed in 2.3.5 • Packagist typo3fluid/fluid: >= 2.4.0, < 2.4.1 → fixed in 2.4.1 • Packagist typo3fluid/fluid: >= 2.5.0, < 2.5.5 → fixed in 2.5.5 • Packagist typo3fluid/fluid: >= 2.6.0, < 2.6.1 → fixed in 2.6.1 • Packagist typo3/cms-core: >= 8.0.0, < 8.7.25 → fixed in 8.7.25 • Packagist typo3/cms-core: >= 9.0.0, < 9.5.6 → fixed in 9.5.6 • Packagist typo3/cms: >= 8.0.0, < 8.7.25 → fixed in 8.7.25 • Packagist typo3/cms: >= 9.0.0, < 9.5.6 → fixed in 9.5.6

Description

> ### Meta > * CVSS: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C`(5.0) > * CWE-79 --- :information_source: &nbsp;This vulnerability has been fixed in May 2019 already, CVE and GHSA were assigned later in October 2020 --- Problem It has been discovered that the Fluid Engine (package `typo3fluid/fluid`) is vulnerable to cross-site scripting when making use of the ternary conditional operator in templates like the following. ``` {showFullName ? fullName : defaultValue} ``` Solution Update to versions 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5 or 2.6.1 of this `typo3fluid/fluid` package that fix the problem described. Updated versions of this package are bundled in following TYPO3 (`typo3/cms-core`) releases: • TYPO3 v8.7.25 (using `typo3fluid/fluid` v2.5.5) • TYPO3 v9.5.6 (using `typo3fluid/fluid` v2.6.1) Credits Thanks to Bill Dagou who reported this issue and to TYPO3 core merger Claus Due who fixed the issue. References • TYPO3-CORE-SA-2019-013

Related

Alias · CVE (1)

  • CVE-2020-15241 TYPO3 Fluid Engine (package `typo3fluid/fluid`) before versions 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5 or 2.6.1 is vulnerable to… vulnerability

Weakness · CWE (2)

  • CWE-601 URL Redirection to Untrusted Site weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References