Vigia

Packagist · packagist:symfony/html-sanitizer

symfony/html-sanitizer active

Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.

Latest stable version8.1.8
Published2026-09-28 08:00:04+00:00
Installcomposer require symfony/html-sanitizer
Required PHP version (composer.json)PHP >=8.4.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-10-08 20:59:51 UTC
Sourcesapi.osv.dev, repo.packagist.org

Maintenance

Activityactive
Last stable release2026-09-28 08:00:04 UTC · 10 days ago
Stable releases in the last 12 months27
Published versions97

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
8.1.82026-09-28 08:00:04 UTC
7.4.202026-09-28 05:21:23 UTC
8.1.72026-09-04 10:14:04 UTC
7.4.192026-09-04 10:11:42 UTC
6.4.462026-09-04 09:16:09 UTC
8.1.62026-08-30 01:03:44 UTC
7.4.182026-08-30 00:47:26 UTC
6.4.452026-08-29 14:18:45 UTC
8.1.12026-06-06 11:11:44 UTC
8.0.142026-06-06 11:11:34 UTC
7.4.142026-06-06 11:10:32 UTC
8.1.02026-05-29 05:06:50 UTC
8.0.132026-05-24 11:21:57 UTC
7.4.132026-05-24 11:20:33 UTC
6.4.412026-05-24 11:08:37 UTC
8.0.122026-05-20 07:22:03 UTC
7.4.122026-05-20 07:20:23 UTC
6.4.402026-05-19 20:33:02 UTC
8.0.82026-03-30 15:14:47 UTC
7.4.82026-03-24 13:12:05 UTC

Showing the 20 most recent of 69 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
php 7.4none
php 8.0none
php 8.16.4.46
php 8.27.4.20
php 8.37.4.20
php 8.48.1.8

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of symfony/html-sanitizer?

The latest stable version of symfony/html-sanitizer is 8.1.8, published on 2026-09-28. Verified by Vigia on 2026-10-08.

How do I install the latest version of symfony/html-sanitizer?

Run composer require symfony/html-sanitizer. The latest stable version is 8.1.8 (verified 2026-10-08).

Is symfony/html-sanitizer deprecated?

No. symfony/html-sanitizer is not marked as deprecated in the registry.

Which PHP version does symfony/html-sanitizer require?

symfony/html-sanitizer 8.1.8 declares this requirement: PHP >=8.4.1.

Does symfony/html-sanitizer 8.1.8 have known vulnerabilities?

No known advisories affect symfony/html-sanitizer 8.1.8 according to the data Vigia checks.

Is symfony/html-sanitizer still maintained?

symfony/html-sanitizer published 27 stable releases in the last 12 months; the most recent was 10 days ago. Activity: active.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/packagist/symfony/html-sanitizer/version.svg)](https://vigia.coredls.cloud/packagist/symfony/html-sanitizer)
[![maintained](https://vigia.coredls.cloud/badge/packagist/symfony/html-sanitizer/maintained.svg)](https://vigia.coredls.cloud/packagist/symfony/html-sanitizer)
[![status](https://vigia.coredls.cloud/badge/packagist/symfony/html-sanitizer/status.svg)](https://vigia.coredls.cloud/packagist/symfony/html-sanitizer)

For agents

GET https://vigia.coredls.cloud/v1/packages/packagist/symfony/html-sanitizer
GET https://vigia.coredls.cloud/v1/packages/packagist/symfony/html-sanitizer/versions/{version}