70342[SECURITY] Ensure XSS-safe rich text rendering
Commit message
Review
-
Code review CR +2 Done
- Oliver Hader +2
-
Verified V +2 Done
- Oliver Hader +2
Issues 3
Files 26
- typo3/sysext/core/Classes/Html/DefaultSanitizerBuilder.phpnew+64 −0
- typo3/sysext/core/Classes/Html/HtmlParser.php+30 −14
- typo3/sysext/core/Classes/Html/RteHtmlParser.php+36 −0
- typo3/sysext/core/Classes/Html/SanitizerBuilderFactory.phpnew+67 −0
- typo3/sysext/core/Classes/Html/SimpleNode.phpnew+89 −0
- typo3/sysext/core/Classes/Html/SimpleParser.phpnew+242 −0
- typo3/sysext/core/Configuration/DefaultConfiguration.php+4 −0
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml+3 −0
- typo3/sysext/core/Documentation/Changelog/9.5.x/Important-94484-IntroduceHTMLSanitizer.rstnew+148 −0
- typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.phpnew+295 −0
- typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.phpnew+134 −0
- typo3/sysext/core/Tests/Unit/Html/Parser/ParserTest.phpnew+122 −0
- typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php+49 −1
- typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php+4 −0
- typo3/sysext/core/composer.json+1 −0
- typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.typoscript+6 −7
- typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/Fixtures/SecureHtmlScenario.yamlnew+30 −0
- typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.phpnew+266 −0
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php+27 −2
- typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/TestSanitizerBuilder.phpnew+31 −0
Show 6 more files
- typo3/sysext/frontend/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php+9 −4
- typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/TestSanitizerBuilder.phpnew+35 −0
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php+2 −2
- typo3/sysext/rte_ckeditor/Configuration/RTE/Processing.yaml+7 −0
- composer.json+1 −0
- composer.lock+121 −1
Review log 34
-
Oliver Hader uploaded patch set 1 08/10/21, 07:50
-
Oliver Hader commented on patch set 1 V +2 CR +2 08/10/21, 07:50
Auto-approved -
Oliver Hader merged patch set 2 08/10/21, 07:50
-
core-ci voted on patch set 1 V +1 08/10/21, 08:01 Core CI is happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14439