#109735typo3/html-sanitizer update issue on 12 LTS (for ELTS)
Description
I did the last update before ELTS and encounterred an issue with typo3/html-sanitizer which was updated from 2.2.0 to 2.3.0. As of #104756, usage of property srcsetAttr is removed from core. It was not applied to 12 LTS.
Version 2.3.0 of html-sanitizer removed the deprecated attribute, which break the semantic versionning. And update with 12 LTS break when updating packages.
The version dependency in cms-core should be changed to ~2.2.0 to prevent further update issue with ELTS.
The subsequent error when accessing frontend and About module is “Call to a member function addValues() on null, in file /var/www/vhosts/morbihan12.plan-net.rocks/releases/release-rc-20260430-0/vendor/typo3/cms-core/Classes/Html/DefaultSanitizerBuilder.php:56”
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Oliver Hader commented and changed status
NewNeeds Feedback priority-- undefined --Should have <span data-processor="relativetime" data-value="2026-04-30T13:36:30+00:00" > 04/30/26, 13:36 </span> -
Pierrick Caillon commented and changed status
Needs FeedbackResolved <span data-processor="relativetime" data-value="2026-04-30T14:02:17+00:00" > 04/30/26, 14:02 </span>Oliver Hader wrote in #note-1:
> More than one hour ago, https://github.com/TYPO3/html-sanitizer/releases/tag/v2.3.1 has been released.
> Can you please confirm, v2.3.1 of the library fixes the problem?I tested locally with v2.3.0 and v2.3.1 and it fixes the issue.
Thanks.
A case of getting between the update and the fix to the update.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:46:58+00:00" > 08/11/26, 08:46 </span>
More than one hour ago, https://github.com/TYPO3/html-sanitizer/releases/tag/v2.3.1 has been released.
Can you please confirm, v2.3.1 of the library fixes the problem?