PackageTrack
Sign in Get early access

typo3/html-sanitizer

HTML sanitizer aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values.

v2.3.2 11M downloads/mo #1167 most downloaded on Packagist TYPO3/html-sanitizer

What this package is like to depend on

Last release 2 months ago

08 Jun 2026

Release timing varies

gaps range from 3 weeks to 1.8 years

Some releases are documented

notes for 10 of 38 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

38 releases · first in 2021

3 releases in the last 12 months

see the full history below

Release timeline

38 releases · Jul 2021 to Jun 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 38
  1. v2.3.2 08 Jun 2026
    Release notes

    What's Changed

    • [SECURITY] Mitigate raw-text bypass with ALLOW_INSECURE_RAW_TEXT by @ohader in #128
    • [SECURITY] Encode namespace attributes by @bnf in #129

    Full Changelog: v2.3.1...v2.3.2

    Open source →
  2. v2.3.1 30 Apr 2026
    Release notes

    What's Changed

    • Revert "[!!!][TASK] Remove deprecated CommonBuilder->srcsetAttr (#119)" by @ohader in #126

    Full Changelog: v2.3.0...v2.3.1

    Open source →
  3. v2.3.0 30 Apr 2026
    Release notes

    What's Changed

    • [TASK] Add PHP 8.5 to CI matrix by @lolli42 in #120
    • [!!!][TASK] Remove deprecated CommonBuilder->srcsetAttr by @lolli42 in #119
    • [!!!][TASK] Require Behavior and Visitors in Sanitizer constructor by @ohader in #122
    • [TASK] Clean up code in \TYPO3\HtmlSanitizer\Serializer\Rules by @ohader in #123
    • [TASK] Clean up code in docs and test cases by @ohader in #124

    Full Changelog: v2.2.0...v2.3.0

    Open source →
  4. v2.2.0 12 Jul 2024
    Release notes

    What's Changed

    Full Changelog: v2.1.4...v2.2.0

    Open source →
  5. v2.1.4 14 Nov 2023
    Release notes

    What's Changed

    • [TASK] Disable test for unicode non breaking spaces substitution by @ohader in #112
    • [TASK] Streamline logging by @ohader in #115
    • [BUGFIX] Correctly import nodes with different owner document by @ohader in #114
    • [SECURITY] Deny processing instructions in b8f9071

    Full Changelog: v2.1.3...v2.1.4

    Open source →
  6. v2.1.3 25 Jul 2023
    Release notes

    What's Changed

    • [TASK] Drop replacement of unicode non breaking spaces by @bnf in #110

    Full Changelog: v2.1.2...v2.1.3

    Open source →
  7. v2.1.2 25 Jul 2023
    Release notes

    What's Changed

    • Sanitizer constructor documents array instead of spread by @dpi in #108
    • [SECURITY] Properly encode noscript child nodes by @ohader & @bnf in e3026f5

    Full Changelog: v2.1.1...v2.1.2

    Open source →
  8. v2.1.1 13 Dec 2022

    Nothing published for this version

  9. v2.1.0 05 Dec 2022

    Nothing published for this version

  10. v2.0.16 13 Sep 2022

    Nothing published for this version

  11. v2.0.15 27 Jul 2022

    Nothing published for this version

  12. v2.0.14 21 Feb 2022

    Nothing published for this version

  13. v2.0.13 12 Oct 2021

    Nothing published for this version

  14. v2.0.12 10 Oct 2021

    Nothing published for this version

  15. v2.0.11 21 Sep 2021

    Nothing published for this version

  16. v2.0.10 25 Aug 2021

    Nothing published for this version

  17. v2.0.9 16 Aug 2021

    Nothing published for this version

  18. v2.0.8 12 Aug 2021

    Nothing published for this version

  19. v2.0.7 08 Aug 2021

    Nothing published for this version

  20. v2.0.6 19 Jul 2021

    Nothing published for this version

  21. v2.0.5 15 Jul 2021

    Nothing published for this version

  22. v2.0.4 15 Jul 2021

    Nothing published for this version

  23. v2.0.3 06 Jul 2021

    Nothing published for this version

  24. v2.0.2 06 Jul 2021

    Nothing published for this version

  25. v2.0.1 06 Jul 2021

    Nothing published for this version

  26. v2.0.0 06 Jul 2021

    Nothing published for this version

  27. v1.5.3 14 Nov 2023
    Release notes

    What's Changed

    • [TASK] Disable test for unicode non breaking spaces substitution by @ohader in #113
    • [TASK] Adjust test case for PHP 7.0 by @ohader in #116
    • [SECURITY] Deny processing instructions in cead6b6

    Full Changelog: v1.5.2...v1.5.3

    Open source →
  28. v1.5.2 25 Jul 2023
    Release notes

    What's Changed

    • [TASK] Drop replacement of unicode non breaking spaces by @bnf in #111

    Full Changelog: v1.5.1...v1.5.2

    Open source →
  29. v1.5.1 25 Jul 2023
    Release notes

    What's Changed

    Full Changelog: v1.5.0...v1.5.1

    Open source →
  30. v1.5.0 13 Dec 2022

    Nothing published for this version

  31. v1.0.7 13 Sep 2022

    Nothing published for this version

  32. v1.0.6 25 Aug 2021

    Nothing published for this version

  33. v1.0.5 16 Aug 2021

    Nothing published for this version

  34. v1.0.4 12 Aug 2021

    Nothing published for this version

  35. v1.0.3 12 Aug 2021

    Nothing published for this version

  36. v1.0.2 08 Aug 2021

    Nothing published for this version

  37. v1.0.1 19 Jul 2021

    Nothing published for this version

  38. v1.0.0 15 Jul 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive