{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-27839 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2020-27839 is a medium-severity vulnerability in ceph-dashboard, published on 26 May 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-27839 and fix it if it is affected.\n\nWhat it is: CVE-2020-27839 is a medium-severity vulnerability in ceph-dashboard, published on 26 May 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-27839 in the wild and no public exploit code.\n\nAffected product: ceph-dashboard. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-27839/ (Markdown: https://insights.sbomify.com/CVE-2020-27839/index.md)","id":"CVE-2020-27839","markdown":"https://insights.sbomify.com/CVE-2020-27839/index.md","name":"CVE-2020-27839","record":{"aliases":["DEBIAN-CVE-2020-27839","GHSA-2c8x-3ppx-9gj3","UBUNTU-CVE-2020-27839"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Ceph dashboard","requires_auth":"low_privilege","summary":"Storing JWTs in localStorage exposes Ceph dashboard users to token theft via XSS, compromising data confidentiality and integrity.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ceph","vendor":"redhat"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"A flaw was found in ceph-dashboard. The JSON Web Token (JWT) used for user authentication is stored by the frontend application in the browser’s localStorage which is potentially vulnerable to attackers via XSS attacks. The highest threat from this vulnerability is to data confidentiality and integrity.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information disclosure in ceph-dashboard","id":"CVE-2020-27839","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in samba","id":"CVE-2020-27840"},"packages":[],"prev":{"headline":"Keycloak discloses information without authentication","id":"CVE-2020-27838"},"products":["ceph-dashboard"],"published":"2021-05-26","related":[{"cvss_score":7.8,"headline":"Privilege escalation in Ceph","id":"CVE-2022-3650","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":7.5,"headline":"RGW DoS attack with empty HTTP header in S3 object copy","id":"CVE-2024-47866","kev_date_added":null,"published":"2025-11-12"},{"cvss_score":6.5,"headline":"Denial of service in Ceph","id":"CVE-2016-8626","kev_date_added":null,"published":"2018-07-31"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2016-5009","kev_date_added":null,"published":"2016-07-12"},{"cvss_score":5.5,"headline":"Information disclosure in ceph","id":"CVE-2018-16889","kev_date_added":null,"published":"2019-01-28"},{"cvss_score":4.3,"headline":"Other in n/a","id":"CVE-2015-5245","kev_date_added":null,"published":"2015-12-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Storing JWTs in localStorage exposes Ceph dashboard users to token theft via XSS, compromising data confidentiality and integrity.","url":"https://insights.sbomify.com/CVE-2020-27839/"}