# CVE-2021-3509: A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-26T23:56:39.000Z
- Modified: 2026-06-17T04:05:15.613Z
- Weaknesses: CWE-79
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ceph-dashboard: as shipped in Red Hat Ceph Storage 4
- redhat ceph_storage: 4.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409> (exploit, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1950116> (issue-tracking, patch, vendor-advisory)
- <https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca> (patch, third-party-advisory)
- <https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b> (patch, third-party-advisory)
- <https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3509](https://www.cve.org/CVERecord?id=CVE-2021-3509), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3509](https://nvd.nist.gov/vuln/detail/CVE-2021-3509), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3509 · Whole record: https://cve.day/CVE-2021-3509.json · Rebuilt by cve.day 2026-11-25T22:58:01.558Z
