CVE-2019-11325 — Improper Input Validation in symfony/symfony
Improper Input Validation in Symfony
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.35%). Schedule for your next planned update.
Does your project use an affected symfony/symfony version?
Paste your composer.lock to check it for CVE-2019-11325 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.
Advisory Timeline
- First published February 12, 2020 (2480 days ago).
- Last revised November 8, 2023 — 1364 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "symfony/symfony:^4.2.12"
composer require "symfony/symfony:^4.3.8"
composer require "symfony/var-exporter:^4.3.8"
composer require "symfony/var-exporter:^4.2.12"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| symfony/symfony Packagist · Affected: v4.2.0, v4.2.1, v4.2.10, v4.2.11 (+8 more) | 4.2.12 |
| symfony/symfony Packagist · Affected: v4.3.0, v4.3.1, v4.3.2, v4.3.3 (+4 more) | 4.3.8 |
| symfony/var-exporter Packagist · Affected: v4.3.0, v4.3.1, v4.3.2, v4.3.3 (+4 more) | 4.3.8 |
| symfony/var-exporter Packagist · Affected: v4.2.0, v4.2.1, v4.2.10, v4.2.11 (+8 more) | 4.2.12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-116Improper Encoding or EscapingMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11325ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-11325.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/var-exporter/CVE-2019-11325.yamlWEB
- https://github.com/symfony/symfony/releases/tag/v4.3.8WEB
- https://github.com/symfony/var-exporter/compare/d8bf442...57e00f3WEB
- https://symfony.com/blog/cve-2019-11325-fix-escaping-of-strings-in-varexporterWEB
- https://symfony.com/blog/symfony-4-3-8-releasedWEB
- https://symfony.com/cve-2019-11325WEB
Frequently Asked Questions
- What is CVE-2019-11325?
- Improper Input Validation in Symfony. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2019-11325?
- CVE-2019-11325 affects symfony/symfony and symfony/var-exporter. It has a 3.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-11325 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 89.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2019-10910CRITICAL
Symfony Service IDs Allow Injection
- CVE-2017-11365CRITICAL
Symfony Incorrect Access Control
- CVE-2026-45077HIGH
Symfony has Unauthenticated PHP Object Deserialization in MonologBridge server:log Listener
- CVE-2026-45063HIGH
Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator
- CVE-2024-51736HIGH
Symfony vulnerable to command execution hijack on Windows with Process class
- CVE-2026-108082HIGH
Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header
- CVE-2026-48784MEDIUM
Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization
- CVE-2026-24739MEDIUM
Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows