# CVE-2026-121373: Symfony HtmlSanitizer meta refresh URL sanitization bypass

Source: https://junglewise.ai/threats/cve-2026-121373-the-symfony-htmlsanitizer-component  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-04. Updated: 2026-11-04  
License: CC BY 4.0 with a link back

CVE-2026-121373 · Severity: info · Published 2026-11-04

Symfony's HtmlSanitizer component, which is used to clean untrusted HTML for safe display in web applications, fails to properly sanitize refresh URLs in meta tags when they use certain valid HTML syntax variations. An attacker can craft HTML that bypasses the sanitizer's URL filtering and cause the page to redirect to a malicious website, circumventing the application's allowLinkSchemes and allowLinkHosts protections.

Technologies: [Symfony HtmlSanitizer](https://junglewise.ai/threats/technologies/htmlsanitizer). Vendors: [Symfony](https://junglewise.ai/threats/vendors/symfony).

## Quick answers

**Is CVE-2026-121373 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-121373 being exploited in the wild.

**How severe is CVE-2026-121373?** Informational severity, published 4 November 2026.

**Which products and versions are affected?** Symfony HtmlSanitizer 6.1.x before 6.4.50, 7.x before 7.4.23, 8.x before 8.1.11.

**Is there a fix for CVE-2026-121373?** Yes: fixed in 6.4.50, 7.4.23, 8.1.11. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-121373 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-121373?** Check whether you run Symfony HtmlSanitizer at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 6.4.50, 7.4.23, 8.1.11

## Technical details

The MetaRefreshAttributeSanitizer uses an overly restrictive regular expression to parse the HTML standard's "shared declarative refresh steps" grammar for meta content attributes. It fails to recognize valid variations that omit the "url=" keyword, use only whitespace as a separator, or include fractional time values; these bypass UrlSanitizer and are passed through unchanged, defeating host and scheme whitelisting. The vulnerability affects versions 6.1.x before 6.4.50, 7.x before 7.4.23, and 8.x before 8.1.11, and is reachable under any configuration that allows meta elements with http-equiv and content attributes.

## Affected products

- Symfony HtmlSanitizer 6.1.x before 6.4.50, 7.x before 7.4.23, 8.x before 8.1.11

## Timeline

- 2026-11-04: disclosed

## References

- [https://packagist.org/packages/symfony/html-sanitizer](https://packagist.org/packages/symfony/html-sanitizer)
- [https://github.com/symfony/symfony/commit/2d4c4fe36200858b91132a95076fff3d9de89d26](https://github.com/symfony/symfony/commit/2d4c4fe36200858b91132a95076fff3d9de89d26)

## Related threats

- [Symfony HtmlSanitizer media URL policy bypass in srcset attributes](https://junglewise.ai/threats/cve-2026-121949-the-symfony-htmlsanitizer-component-does-not-apply-the-media-url)
- [Symfony HtmlSanitizer UrlSanitizer host allowlist bypass](https://junglewise.ai/threats/cve-2026-118517-the-symfony-htmlsanitizer-component-urlsanitizer-parses-urls)
- [Symfony HtmlSanitizer XSS via incomplete URL attribute sanitization](https://junglewise.ai/threats/cve-2026-48761-symfony-htmlsanitizer-xss-via-incomplete-url-attribute)
- [Symfony HtmlSanitizer visual spoofing via percent-encoded BiDi characters](https://junglewise.ai/threats/cve-2026-48760-symfony-htmlsanitizer-visual-spoofing-via-percent-encoded-bidi)
- [Symfony HtmlSanitizer XSS via incomplete URL attribute list](https://junglewise.ai/threats/cve-2026-45753-symfony-htmlsanitizer-xss-via-incomplete-url-attribute-list)
