Skip to content
PHP News
Search
unrated Symfony components Reported Not reviewed by PHP News yet

CVE-2026-133756: HtmlSanitizer Doesn't Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373

Are you affected?

If you run one of these versions, yes. The sources say whether your app is exposed.

symfony/html-sanitizer (or one of the 1 other affected package below) is below 8.1.12 on 8.1.x, below 7.4.24 on 7.4.x, below 6.4.51 on 6.4.x, or on an older branch.

Fix it

Find the branch you run and update to the release next to it. The same releases fix symfony/html-sanitizer and symfony/symfony; update whichever you install.

If you run 8.1.0 – 8.1.11 Update to 8.1.12
composer require symfony/html-sanitizer:^8.1.12
If you run 7.4.0 – 7.4.23 Update to 7.4.24
composer require symfony/html-sanitizer:^7.4.24
If you run 6.4.0 – 6.4.50 Update to 6.4.51
composer require symfony/html-sanitizer:^6.4.51
On an older branch? Show 8 branches that are no longer supported

These branches no longer get security fixes, so the next flaw won't be patched on them. Plan a move to a supported one.

If you run 8.0.0 – 8.0.x Update to 8.1.12
composer require symfony/html-sanitizer:^8.1.12
If you run 7.0.0 – 7.0.x Update to 7.4.24
composer require symfony/html-sanitizer:^7.4.24
If you run 7.1.0 – 7.1.x Update to 7.4.24
composer require symfony/html-sanitizer:^7.4.24
If you run 7.2.0 – 7.2.x Update to 7.4.24
composer require symfony/html-sanitizer:^7.4.24
If you run 7.3.0 – 7.3.x Update to 7.4.24
composer require symfony/html-sanitizer:^7.4.24
If you run 6.1.0 – 6.1.x Update to 6.4.51
composer require symfony/html-sanitizer:^6.4.51
If you run 6.2.0 – 6.2.x Update to 6.4.51
composer require symfony/html-sanitizer:^6.4.51
If you run 6.3.0 – 6.3.x Update to 6.4.51
composer require symfony/html-sanitizer:^6.4.51

Not sure? Check your app with an agent

Paste this into a coding agent that can read your project, such as Claude Code, Codex or Amp. It checks your composer.lock against the versions above and tells you what to update, without changing anything.

Check whether the PHP project you have access to is affected by this security advisory, and tell me what to update. Do a read-only check: don't edit files, don't run composer update or composer require, and don't try to reproduce the flaw.

Advisory: CVE-2026-133756: HtmlSanitizer Doesn't Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373 (CVE-2026-133756)
Details: https://phpnews.net/security/symfony/cve-2026-133756

Affected versions, as Composer constraints:
- symfony/html-sanitizer, symfony/symfony: >=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.51|>=7.0.0,<7.1.0|>=7.1.0,<7.2.0|>=7.2.0,<7.3.0|>=7.3.0,<7.4.0|>=7.4.0,<7.4.24|>=8.0.0,<8.1.0|>=8.1.0,<8.1.12

Fixed releases on branches that still get security fixes:
- 8.1.0 – 8.1.11: update to 8.1.12
- 7.4.0 – 7.4.23: update to 7.4.24
- 6.4.0 – 6.4.50: update to 6.4.51

1. Find every composer.lock in the project outside vendor/ (a monorepo can have one per app) and read the installed version of each package above. Packages installed as dependencies of other packages count too.
2. Compare each installed version with its constraint: "|" separates alternative ranges, and "," means both bounds apply.
3. For each affected install, read the project's advisory at https://symfony.com/cve-2026-133756 and check whether the project meets the conditions it describes. Say which conditions you could check and which you couldn't.
4. Report a table: lock file | package | installed version | affected (yes, no or unknown) | conditions met (yes, no or unknown) | update to | evidence. For each affected package, give the command that would fix it, without running it: composer update <package> --with-dependencies when it is only installed as a dependency of another package, or composer require with the fixed version when composer.json requires it directly. If the installed version is on a branch with no fixed release listed, say it needs a move to a newer branch.

Check whether the PHP project you have access to is affected by this security advisory, and tell me what to update. Do a read-only check: don't edit files, don't run composer update or composer require, and don't try to reproduce the flaw.

← All Symfony advisories