Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3509
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:49 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-3509
Complete source record
{
"id": "c1cf806ac5395ba31a6f1e2d5d752760932075944ccfe133988414f534d64b0a",
"url": "https://osv.dev/vulnerability/CVE-2021-3509",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3509",
"summary": "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.",
"evidence": "osv:CVE-2021-3509",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3509",
"aliases": [
"CVE-2021-3509"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ceph/ceph",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b"
},
{
"fixed": "adda853e64bdba1288d46bc7d462d23d8f2f10ca"
},
{
"fixed": "af3fffab3b0f13057134d96e5d481e400d8bfd27"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "adda853e64bdba1288d46bc7d462d23d8f2f10ca"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "af3fffab3b0f13057134d96e5d481e400d8bfd27"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v14.2.20",
"v15.2.11",
"v16.2.3",
"v16.2.2",
"v16.2.1",
"v14.2.19",
"v15.2.10",
"v16.2.0",
"v14.2.18",
"v14.2.17",
"v15.2.9",
"v16.1.0",
"v14.2.13",
"v15.2.8",
"v14.2.16",
"v14.2.15",
"v15.2.7",
"v15.2.6",
"v14.2.14",
"v15.2.5",
"v14.2.12",
"v14.2.11",
"v15.2.4",
"v14.2.10",
"v15.2.3",
"v15.2.2",
"v15.2.1",
"v14.2.8",
"v14.2.5",
"v15.2.0",
"v16.0.0",
"v15.1.1",
"v14.2.7",
"v14.2.6",
"v14.2.3",
"v14.2.2",
"v14.2.1",
"v14.2.0",
"v15.0.0",
"v14.0.0",
"v13.0.0",
"v11.0.0",
"v0.19",
"v0.18",
"v0.9",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.6",
"v0.5",
"v0.4",
"v0.2",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3509.json"
}
}
],
"modified": "2026-10-20T10:54:45.723950360Z",
"provider": "osv",
"references": [
"https://bugzilla.redhat.com/show_bug.cgi?id=1950116",
"https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b",
"https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca",
"https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27",
"https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:redhat:ceph_storage:4.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:ceph_storage",
"extracted_events": [
{
"range": [
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-3509",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386107,
"published_at": "2021-05-27T00:15:08.577+00:00"
}