Skip to main content

CVE-2019-11325 — Improper Input Validation in symfony/symfony

CRITICAL

Improper Input Validation in Symfony

Published February 12, 2020Updated November 8, 2023Source: OSV

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.

Check my composer.lock

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
Update symfony/symfony to 4.2.12 or later
composer require "symfony/symfony:^4.2.12"
Composer
Update symfony/symfony to 4.3.8 or later
composer require "symfony/symfony:^4.3.8"
Composer
Update symfony/var-exporter to 4.3.8 or later
composer require "symfony/var-exporter:^4.3.8"
Composer
Update symfony/var-exporter to 4.2.12 or later
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).

PackageFixed 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-116
    Improper Encoding or EscapingMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
3.35%
EPSS percentile: 89.5

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

GHSA-w4rc-rx25-8m86

Related CVEs

  • CVE-2019-10910
    CRITICAL

    Symfony Service IDs Allow Injection

  • CVE-2017-11365
    CRITICAL

    Symfony Incorrect Access Control

  • CVE-2026-45077
    HIGH

    Symfony has Unauthenticated PHP Object Deserialization in MonologBridge server:log Listener

  • CVE-2026-45063
    HIGH

    Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator

  • CVE-2024-51736
    HIGH

    Symfony vulnerable to command execution hijack on Windows with Process class

  • CVE-2026-108082
    HIGH

    Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header

  • CVE-2026-48784
    MEDIUM

    Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization

  • CVE-2026-24739
    MEDIUM

    Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock