{ "canonical_id": "symfony--CVE-2020-5274", "system_id": "symfony", "display_name": "Symfony", "category": "frameworks", "advisory_mode": "core", "title": "Exceptions displayed in non-debug configurations in Symfony", "summary": "Description\n-----------\n\nWhen `ErrorHandler` renders an exception HTML page, it uses un-escaped properties from the related Exception class to render the stacktrace. The security issue comes from the fact that the stacktraces were also displayed in non-`debug` environments.\n\nResolution\n----------\n\nThe `ErrorHandler` class now escapes all properties coming from the related Exception, and the stacktrace is not displayed anymore in non-`debug` environments.\n\nThe patches for this issue are available [here](https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad) and [here](https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db) for branch 4.4.\n\nCredits\n-------\n\nI would like to thank Luka Sikic for reporting & Yonel Ceruto and J\u00e9r\u00e9my Deruss\u00e9 for fixing the issue.", "published_at": "2020-03-30T20:09:31Z", "updated_at": "2026-03-13T22:15:59.230149Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-5274", "https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db", "https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad", "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yaml", "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yaml", "https://symfony.com/cve-2020-5274" ], "aliases": [ "BIT-symfony-2020-5274", "CVE-2020-5274", "GHSA-m884-279h-32v2" ], "cve_ids": [ "CVE-2020-5274" ], "ghsa_ids": [ "GHSA-m884-279h-32v2" ], "osv_ids": [ "GHSA-m884-279h-32v2" ], "affected_versions": [ "v4.4.0", "v4.4.1", "v4.4.2", "v4.4.3", "v5.0.0", "v5.0.1", "v5.0.2", "v5.0.3", "introduced=4.4.0, fixed<4.4.4", "introduced=5.0.0, fixed<5.0.4" ], "fixed_versions": [ "4.4.4", "5.0.4" ], "package_name": "symfony/symfony", "render_markdown": true, "case_path": "07-framework-security/frameworks/symfony/cases/symfony-cve-2020-5274.md", "secure_code_topics": [ "xss-output-encoding", "authz-server-side-recheck", "path-traversal-guard" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "OSV Symfony" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }