Review 13.4 Merged

96549[TASK] Update enshrined/svg-sanitize to ^1.0

Benjamin Franzke CR +2 V +2 Easy +9 −17 updated 10/09/26, 08:47

Commit message

This release handles four security issues:
 - https://github.com/advisories/GHSA-m9xh-6747-9r6f
 - https://github.com/advisories/GHSA-9rjx-3jch-6vjf
 - https://github.com/advisories/GHSA-v383-3rw5-q8rf
 - https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-qhmf-972w-m957

The new version became stricter, the tests are adapted accordingly:

 * SVG documents that contain entity references are rejected entirely
   instead of a removing affected entities only
 * The setting `removeRemoteReferences(true)` now also removes external
   references in `<a>` and `<use>` tags.
   One could argue that external URLs shall be allowed in anchor links,
   but since they have been removed, we accept this upstream decision.
   Local references via `#` still work (tests are added accordingly).

Executed commands:

  composer req enshrined/svg-sanitize:^1.0
  composer req -d typo3/sysext/core --no-update \
    enshrined/svg-sanitize:^1.0

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 5

Review log 34

  1. Benjamin Franzke uploaded patch set 1 10/09/26, 08:28

  2. core-ci voted on patch set 1 V +1 10/09/26, 08:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110563

  3. Benni Mack voted on patch set 1 CR +2 V +2 10/09/26, 08:47

  4. Benni Mack merged patch set 2 10/09/26, 08:47