PackageTrack
Sign in Get early access

spryker/util-sanitize-xss

UtilSanitizeXss module

1.4.0 2.4M downloads/mo #3776 most downloaded on Packagist spryker/util-sanitize-xss

What this package is like to depend on

Last release 4 months ago

21 Apr 2026

Release timing varies

gaps range from 3 weeks to 3.2 years

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

5 releases · first in 2019

2 releases in the last 12 months

see the full history below

Release timeline

5 releases · Dec 2019 to Apr 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 5
  1. 1.4.0 21 Apr 2026
    Release notes

    Included commits: 1.3.0...1.4.0

    Fixes

    • Fixed HTML sanitization on PHP 8.4 by introducing NativeHtmlParser that passes LIBXML_NOERROR when parsing HTML, preventing malformed entity warnings from propagating as ErrorException through Spryker's error handler and causing back office configuration failures.
    Open source →
  2. 1.3.0 02 Apr 2026
    Release notes

    Included commits: 1.2.0...1.3.0

    Improvements

    • Introduced UtilSanitizeXssServiceInterface::sanitize() to sanitize untrusted HTML using the Symfony HtmlSanitizer with full configuration support.
    • Introduced HtmlSanitizerConfigTransfer, HtmlSanitizerAllowedElementTransfer, and HtmlSanitizerAllowedAttributeTransfer transfer objects.

    Adjustments

    • Added Symfony and Transfer to dependencies
    Open source →
  3. 1.2.0 25 Apr 2023
    Release notes

    Included commits: 1.1.0...1.2.0

    Improvements

    • Adjusted UtilSanitizeXssService::sanitizeXss() so HTML comments are not removed from the given text.
    Open source →
  4. 1.1.0 13 Mar 2023
    Release notes

    Included commits: 1.0.0...1.1.0

    Improvements

    • Adjusted UtilSanitizeXssService::sanitizeXss() so Twig functions are not removed from the given text.
    Open source →
  5. 1.0.0 24 Dec 2019
    Release notes

    Included commits: https://github.com/spryker/util-sanitize-xss/tree/1.0.0

    Initial Release

    • Introduced UtilSanitizeXssService::sanitizeXss() Service method to sanitize untrusted HTML to prevent XSS attacks.
    Open source →

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