{"api_version":"1","generated_at":"2026-04-30T16:03:34+00:00","cve":"CVE-2020-5274","urls":{"html":"https://cve.report/CVE-2020-5274","api":"https://cve.report/api/cve/CVE-2020-5274.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5274","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5274"},"summary":{"title":"CVE-2020-5274","description":"In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception were not properly escaped when the `ErrorHandler` rendered it stacktrace. In addition, the stacktrace were displayed even in a non-debug configuration. The ErrorHandler now escape alls properties of the exception, and the stacktrace is only display in debug configuration. This issue is patched in symfony/http-foundation versions 4.4.5 and 5.0.5","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-03-30 20:15:00","updated_at":"2020-04-01 20:34:00"},"problem_types":["CWE-209"],"metrics":[],"references":[{"url":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad","name":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Added debug argument to decide if debug page should be shown or not · symfony/symfony@cf80224 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","name":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Escape variable in Exception Template · symfony/symfony@629d21b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","name":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Fix Exception message escaping rendered by ErrorHandler · Advisory · symfony/symfony · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5274","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5274","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5274","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sensiolabs","cpe5":"symfony","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5274","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sensiolabs","cpe5":"symfony","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-5274","qid":"180714","title":"Debian Security Update for symfony (CVE-2020-5274)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5274","STATE":"PUBLIC","TITLE":"Exceptions displayed in non-debug configurations in Symfony"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"symfony","version":{"version_data":[{"version_value":">= 4.0.0, < 4.4.5"},{"version_value":">= 5.0.0, < 5.0.5"}]}}]},"vendor_name":"symfony"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception were not properly escaped when the `ErrorHandler` rendered it stacktrace. In addition, the stacktrace were displayed even in a non-debug configuration. The ErrorHandler now escape alls properties of the exception, and the stacktrace is only display in debug configuration. This issue is patched in symfony/http-foundation versions 4.4.5 and 5.0.5"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-209: Generation of Error Message Containing Sensitive Information"}]}]},"references":{"reference_data":[{"name":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","refsource":"CONFIRM","url":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2"},{"name":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","refsource":"MISC","url":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db"},{"name":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad","refsource":"MISC","url":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad"}]},"source":{"advisory":"GHSA-m884-279h-32v2","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-03-30 20:15:00","lastModifiedDate":"2020-04-01 20:34:00","problem_types":["CWE-209"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.5},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.0","versionEndExcluding":"4.4.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.0.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5274","Ordinal":"165488","Title":"CVE-2020-5274","CVE":"CVE-2020-5274","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5274","Ordinal":"1","NoteData":"In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception were not properly escaped when the `ErrorHandler` rendered it stacktrace. In addition, the stacktrace were displayed even in a non-debug configuration. The ErrorHandler now escape alls properties of the exception, and the stacktrace is only display in debug configuration. This issue is patched in symfony/http-foundation versions 4.4.5 and 5.0.5","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5274","Ordinal":"2","NoteData":"2020-03-30","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5274","Ordinal":"3","NoteData":"2020-03-30","Type":"Other","Title":"Modified"}]}}}