CVE-2019-10913 — Vulnerability in symfony/http-foundation
Invalid HTTP method overrides allow possible XSS or other attacks in Symfony
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.87%). Schedule for your next planned update.
Does your project use an affected symfony/http-foundation version?
Paste your composer.lock to check it for CVE-2019-10913 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
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, HTTP Methods provided as verbs or using the override header may be treated as trusted input, but they are not validated, possibly causing SQL injection or XSS. This is related to symfony/http-foundation.
Advisory Timeline
- First published December 2, 2019 (2552 days ago).
- Last revised November 8, 2023 — 1436 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "symfony/http-foundation:^4.1.12"
composer require "symfony/symfony:^2.8.50"
composer require "symfony/symfony:^4.2.7"
composer require "symfony/http-foundation:^4.2.7"
composer require "symfony/http-foundation:^2.8.50"
composer require "symfony/symfony:^2.7.51"
composer require "symfony/symfony:^3.4.26"
composer require "symfony/http-foundation:^3.4.26"
composer require "symfony/http-foundation:^2.7.51"
composer require "symfony/symfony:^4.1.12"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (10)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| symfony/http-foundation Packagist · Affected: v4.0.0, v4.0.1, v4.0.10, v4.0.11 (+27 more) | 4.1.12 |
| symfony/symfony Packagist · Affected: v2.8.0, v2.8.1, v2.8.10, v2.8.11 (+46 more) | 2.8.50 |
| symfony/symfony Packagist · Affected: v4.2.0, v4.2.1, v4.2.2, v4.2.3 (+3 more) | 4.2.7 |
| symfony/http-foundation Packagist · Affected: v4.2.0, v4.2.1, v4.2.2, v4.2.3 (+3 more) | 4.2.7 |
| symfony/http-foundation Packagist · Affected: v2.8.0, v2.8.1, v2.8.10, v2.8.11 (+46 more) | 2.8.50 |
| symfony/symfony Packagist · Affected: v2.7.0, v2.7.1, v2.7.10, v2.7.11 (+47 more) | 2.7.51 |
| symfony/symfony Packagist · Affected: v3.0.0, v3.0.1, v3.0.2, v3.0.3 (+90 more) | 3.4.26 |
| symfony/http-foundation Packagist · Affected: v3.0.0, v3.0.1, v3.0.2, v3.0.3 (+90 more) | 3.4.26 |
| symfony/http-foundation Packagist · Affected: v2.7.0, v2.7.1, v2.7.10, v2.7.11 (+47 more) | 2.7.51 |
| symfony/symfony Packagist · Affected: v4.0.0, v4.0.1, v4.0.10, v4.0.11 (+27 more) | 4.1.12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/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-10913ADVISORY
- https://github.com/symfony/symfony/commit/944e60f083c3bffbc6a0b5112db127a10a66a8ecWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2019-10913.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-10913.yamlWEB
- https://symfony.com/blog/cve-2019-10913-reject-invalid-http-method-overridesWEB
- https://symfony.com/cve-2019-10913WEB
Frequently Asked Questions
- What is CVE-2019-10913?
- Invalid HTTP method overrides allow possible XSS or other attacks 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-10913?
- CVE-2019-10913 affects symfony/http-foundation and symfony/symfony. It has a 1.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-10913 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 — 79.9% 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-2018-11407CRITICAL
Symfony Authentication Bypass
- CVE-2026-109413HIGH
Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process
- CVE-2025-64500HIGH
Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass
- CVE-2026-45075HIGH
Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]
- CVE-2026-108082HIGH
Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header
- CVE-2026-45754MEDIUM
Symfony's Mailjet Mailer Webhook Parser Never Verifies the Configured Secret — Unauthenticated Webhook Event Injection
- CVE-2026-45073MEDIUM
Symfony Vulnerable to SQL Injection in PdoAdapter::doClear() via Unsanitized $prefix
- CVE-2026-45068MEDIUM
Symfony has an Argument Injection in SendmailTransport via Dash-Prefixed Recipient Address