CVE-2013-4752
Symfony Host Header Injection vulnerability in the HttpFoundation component
Also known as GHSA-22pv-7v9j-hqxp
Mitigation
- Upgrade symfony/symfony to one of 2.0.24, 2.1.12, 2.2.5, 2.3.3 (or later in the same release line).
- Upgrade symfony/http-foundation to one of 2.0.24, 2.1.12, 2.2.5, 2.3.3 (or later in the same release line).
Who should check
- Projects that depend on Packagist package symfony/symfony (>= 2.0.0, < 2.0.24)
- Projects that depend on Packagist package symfony/http-foundation (>= 2.0.0, < 2.0.24)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- symfony/symfony >= 2.0.0, < 2.0.24; symfony/http-foundation >= 2.0.0, < 2.0.24
- Fixed in
- 2.0.24, 2.1.12, 2.2.5, 2.3.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.1 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 2.31% chance of exploitation in 30 days (percentile 84, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Symfony 2.0.X before 2.0.24, 2.1.X before 2.1.12, 2.2.X before 2.2.5, and 2.3.X before 2.3.3 have an issue in the HttpFoundation component. The Host header can be manipulated by an attacker when the framework is generating an absolute URL. A remote attacker could exploit this vulnerability to inject malicious content into the Web application page and conduct various attacks.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist symfony/symfony | >= 2.0.0, < 2.0.24 | 2.0.24, 2.1.12, 2.2.5, 2.3.3 | osv |
| Packagist symfony/http-foundation | >= 2.0.0, < 2.0.24 | 2.0.24, 2.1.12, 2.2.5, 2.3.3 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2013-4752. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2013-4752.md Affected: symfony/symfony >= 2.0.0, < 2.0.24; symfony/http-foundation >= 2.0.0, < 2.0.24 Fixed in: 2.0.24, 2.1.12, 2.2.5, 2.3.3 Steps: 1. Search this machine and project for symfony/symfony (Packagist), symfony/http-foundation (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86367
- http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114450.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114461.html
- http://www.securityfocus.com/bid/61715
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86365
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86366
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86368
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86369
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86370
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86371
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86372
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86373
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86374
- https://web.archive.org/web/20130901060826/http://www.securityfocus.com/bid/61715
- https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released
- https://github.com/symfony/symfony
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-4752.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2013-4752.yaml
FAQ
Is CVE-2013-4752 being exploited?
There is no confirmed exploitation: CVE-2013-4752 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2013-4752?
Medium: CVSS 6.1 (v3.1, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2013-4752?
symfony/symfony >= 2.0.0, < 2.0.24; symfony/http-foundation >= 2.0.0, < 2.0.24.
Is there a fix for CVE-2013-4752?
Yes. Fixed in 2.0.24, 2.1.12, 2.2.5, 2.3.3. Upgrade symfony/symfony to one of 2.0.24, 2.1.12, 2.2.5, 2.3.3 (or later in the same release line). Upgrade symfony/http-foundation to one of 2.0.24, 2.1.12, 2.2.5, 2.3.3 (or later in the same release line).
How do I check if I'm affected by CVE-2013-4752?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.