Symfony: HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href Spoofing
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.4.40, 7.4.12, 8.0.12
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, UrlSanitizer::parse() passes Unicode explicit-direction BiDi formatting characters through into sanitized href and src attributes, allowing sanitized content to display a link destination that visually differs from the actual destination and enabling phishing-style visual spoofing. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- symfony symfony
From 6.1.0-BETA1 · fixed in 6.4.40; From 7.0.0-BETA1 · fixed in 7.4.12; From 8.0.0-BETA1 · fixed in 8.0.12
- symfony html-sanitizer
From 6.1.0-BETA1 · fixed in 6.4.40; From 7.0.0-BETA1 · fixed in 7.4.12; From 8.0.0-BETA1 · fixed in 8.0.12
- symfony/html-sanitizerPackagist
From 6.1.0 · fixed in 6.4.40
- symfony/html-sanitizerPackagist
From 7.0.0 · fixed in 7.4.12
- symfony/html-sanitizerPackagist
From 8.0.0 · fixed in 8.0.12
- symfony/symfonyPackagist
From 6.1.0 · fixed in 6.4.40
- symfony/symfonyPackagist
From 7.0.0 · fixed in 7.4.12
- symfony/symfonyPackagist
From 8.0.0 · fixed in 8.0.12