Lucene search

K
githubGitHub Advisory DatabaseGHSA-47M6-46MJ-P235
HistorySep 16, 2022 - 6:50 p.m.

TYPO3 HTML Sanitizer Bypasses Cross-Site Scripting Protection

2022-09-1618:50:12
CWE-79
GitHub Advisory Database
github.com
15
typo3
html sanitizer
cross-site scripting
masterminds/html5
security update
david klein
oliver hader

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

47.8%

> ### Meta
> * CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C (5.7)

Problem

Due to a parsing issue in upstream package masterminds/html5, malicious markup used in a sequence with special HTML comments cannot be filtered and sanitized. This allows to by-pass the cross-site scripting mechanism of typo3/html-sanitizer.

Solution

Update to typo3/html-sanitizer versions 1.0.7 or 2.0.16 that fix the problem described.

Credits

Thanks to David Klein who reported this issue, and to TYPO3 security team member Oliver Hader who fixed the issue.

Affected configurations

Vulners
Node
typo3typo3_cmsRange11.0.011.5.16
OR
typo3typo3_cmsRange10.0.010.4.32
OR
typo3cms-coreRange11.0.011.5.16
OR
typo3cms-coreRange10.0.010.4.32
OR
typo3html_sanitizerRange2.0.02.0.16
OR
typo3html_sanitizerRange1.0.01.0.7
VendorProductVersionCPE
typo3typo3_cms*cpe:2.3:a:typo3:typo3_cms:*:*:*:*:*:*:*:*
typo3cms-core*cpe:2.3:a:typo3:cms-core:*:*:*:*:*:*:*:*
typo3html_sanitizer*cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:*

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

47.8%