{"api_version":"1","generated_at":"2026-04-23T04:11:41+00:00","cve":"CVE-2021-3509","urls":{"html":"https://cve.report/CVE-2021-3509","api":"https://cve.report/api/cve/CVE-2021-3509.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3509","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3509"},"summary":{"title":"CVE-2021-3509","description":"A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component. In response to CVE-2020-27839, the JWT token was moved from localStorage to an httpOnly cookie. However, token cookies are used in the body of the HTTP response for the documentation, which again makes it available to XSS.The greatest threat to the system is for confidentiality, integrity, and availability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-05-27 00:15:00","updated_at":"2022-04-25 17:08:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b","name":"https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b","refsource":"MISC","tags":[],"title":"mgr/dashboard: fix cookie injection issue · ceph/ceph@7a1ca8d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27","name":"https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27","refsource":"MISC","tags":[],"title":"mgr/dashboard: fix cookie injection issue · ceph/ceph@af3fffa · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1950116","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1950116","refsource":"MISC","tags":[],"title":"1950116 – (CVE-2021-3509) CVE-2021-3509 ceph-dashboard: Cross-site scripting via token Cookie","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409","name":"https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409","refsource":"MISC","tags":[],"title":"ceph/docs.py at f1557e8f62d31883d3d34ae241a1a26af11d923f · ceph/ceph · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca","name":"https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca","refsource":"MISC","tags":[],"title":"mgr/dashboard: fix cookie injection issue · ceph/ceph@adda853 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3509","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3509","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3509","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ceph_storage","cpe6":"4.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3509","qid":"180266","title":"Debian Security Update for ceph (CVE-2021-3509)"},{"cve":"CVE-2021-3509","qid":"198423","title":"Ubuntu Security Notification for Ceph vulnerabilities (USN-4998-1)"},{"cve":"CVE-2021-3509","qid":"198554","title":"Ubuntu Security Notification for Ceph Vulnerabilities (USN-5128-1)"},{"cve":"CVE-2021-3509","qid":"239428","title":"Red Hat Update for Red Hat Ceph Storage 4.2 (RHSA-2021:2445)"},{"cve":"CVE-2021-3509","qid":"501811","title":"Alpine Linux Security Update for ceph"},{"cve":"CVE-2021-3509","qid":"502829","title":"Alpine Linux Security Update for ceph16"},{"cve":"CVE-2021-3509","qid":"750099","title":"SUSE Enterprise Linux Security Update for ceph (SUSE-SU-2021:1834-1)"},{"cve":"CVE-2021-3509","qid":"750100","title":"SUSE Enterprise Linux Security Update for ceph (SUSE-SU-2021:1835-1)"},{"cve":"CVE-2021-3509","qid":"750174","title":"OpenSUSE Security Update for ceph (openSUSE-SU-2021:0833-1)"},{"cve":"CVE-2021-3509","qid":"750795","title":"OpenSUSE Security Update for ceph (openSUSE-SU-2021:1834-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-3509","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"ceph-dashboard","version":{"version_data":[{"version_value":"as shipped in Red Hat Ceph Storage 4"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1950116","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1950116"},{"refsource":"MISC","name":"https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409","url":"https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409"},{"refsource":"MISC","name":"https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca","url":"https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca"},{"refsource":"MISC","name":"https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b","url":"https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b"},{"refsource":"MISC","name":"https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27","url":"https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27"}]},"description":{"description_data":[{"lang":"eng","value":"A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component. In response to CVE-2020-27839, the JWT token was moved from localStorage to an httpOnly cookie. However, token cookies are used in the body of the HTTP response for the documentation, which again makes it available to XSS.The greatest threat to the system is for confidentiality, integrity, and availability."}]}},"nvd":{"publishedDate":"2021-05-27 00:15:00","lastModifiedDate":"2022-04-25 17:08:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ceph_storage:4.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3509","Ordinal":"206810","Title":"CVE-2021-3509","CVE":"CVE-2021-3509","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3509","Ordinal":"1","NoteData":"A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component. In response to CVE-2020-27839, the JWT token was moved from localStorage to an httpOnly cookie. However, token cookies are used in the body of the HTTP response for the documentation, which again makes it available to XSS.The greatest threat to the system is for confidentiality, integrity, and availability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3509","Ordinal":"2","NoteData":"2021-05-26","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3509","Ordinal":"3","NoteData":"2021-05-26","Type":"Other","Title":"Modified"}]}}}