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

- Database: GitHub
- Severity: CVSS 5.3 (Medium)
- Published: 2026-11-25
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-133756](https://cve.now/CVE-2026-133756.md): Symfony HTML Sanitizer open redirect via unchecked meta refresh URLs

## Affected versions

- symfony/html-sanitizer (Packagist): from 6.1, fixed in 6.4.51
- symfony/symfony (Packagist): from 6.1, fixed in 6.4.51
- symfony/html-sanitizer (Packagist): from 7, fixed in 7.4.24
- symfony/symfony (Packagist): from 7, fixed in 7.4.24
- symfony/html-sanitizer (Packagist): from 8, fixed in 8.1.12
- symfony/symfony (Packagist): from 8, fixed in 8.1.12

## Description

### Description

`MetaRefreshAttributeSanitizer` checks the URL of a `<meta http-equiv="refresh">` directive only when its `content` starts with a refresh time. Since the fix for CVE-2026-121373, only the ASCII whitespace of the HTML specification could come before that time. Chromium-based browsers also skip a vertical tab and the Unicode spaces U+1680, U+2000 to U+200A, U+2028, U+205F and U+3000.

When the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn't checked against `allowLinkHosts()` and `allowLinkSchemes()`, and Chromium followed it:

```php
$sanitizer->sanitizeFor('head', "<meta http-equiv=\"refresh\" content=\"\u{3000}0;url=https://evil.example/\">");
// returned unchanged, and Chromium redirects to https://evil.example/
```

The vertical tab is a regression of the fix for CVE-2026-121373, since the expression used before matched it. The Unicode spaces have been accepted since the sanitizer of meta refresh directives exists.

This requires the configuration of CVE-2026-121373: `meta` elements allowed with their `http-equiv` and `content` attributes, for example with `allowStaticElements()`, and content sanitized with `sanitizeFor('head', ...)`. Firefox and Safari skip only ASCII whitespace there.

### Resolution

The sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too.

The patch for this issue is available [here](https://github.com/symfony/symfony/commit/742095d04eba28da49bcd67f532e6b91ddefb476) for branch 6.4 (and forward-ported to 7.4, 8.1 and 8.2).

### Credits

We would like to thank [Vincent Cassiau](https://github.com/VincentCassiau) (CyberVanguard) for reporting the issue and Nicolas Grekas for providing the fix.

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-wccc-v7v7-gc54

Page: https://cve.now/GHSA-WCCC-V7V7-GC54

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
