{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-21678 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-21678 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-21678 is a high-severity cross-site scripting vulnerability in Atlassian Confluence Data Center, published on 20 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21678 and fix it if it is affected.\n\nWhat it is: CVE-2024-21678 is a high-severity cross-site scripting vulnerability in Atlassian Confluence Data Center, published on 20 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-21678 in the wild and no public exploit code.\n\nAffected product: Atlassian Confluence Data Center. 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-2024-21678/ (Markdown: https://insights.sbomify.com/CVE-2024-21678/index.md)","id":"CVE-2024-21678","markdown":"https://insights.sbomify.com/CVE-2024-21678/index.md","name":"CVE-2024-21678","record":{"aliases":["GHSA-hvfx-qp2c-x42h"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Confluence Data Center","requires_auth":"low_privilege","summary":"Authenticated attackers can inject malicious scripts into Confluence Data Center, allowing arbitrary code execution in victim browsers.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"atlassian","cpe":[{"product":"confluence_data_center","vendor":"atlassian"},{"product":"confluence_server","vendor":"atlassian"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"This High severity Stored XSS vulnerability was introduced in version 2.7.0 of Confluence Data Center.\r\n\r\nThis Stored XSS vulnerability, with a CVSS Score of 8.5, allows an authenticated attacker to execute arbitrary HTML or JavaScript code on a victims browser which has high impact to confidentiality, low impact to integrity, no impact to availability, and requires no user interaction.\r\nData Center\r\n\r\nAtlassian recommends that Confluence Data Center customers upgrade to the latest version. If you are unable to do so, upgrade your instance to one of the specified supported fixed versions:\r\n||Affected versions||Fixed versions||\r\n|from 8.7.0 to 8.7.1|8.8.0 recommended or 8.7.2|\r\n|from 8.6.0 to 8.6.1|8.8.0 recommended|\r\n|from 8.5.0 to 8.5.4 LTS|8.8.0 recommended or 8.5.5 LTS or 8.5.6 LTS|\r\n|from 8.4.0 to 8.4.5|8.8.0 recommended or 8.5.6 LTS|\r\n|from 8.3.0 to 8.3.4|8.8.0 recommended or 8.5.6 LTS|\r\n|from 8.2.0 to 8.2.3|8.8.0 recommended or 8.5.6 LTS|\r\n|from 8.1.0 to 8.1.4|8.8.0 recommended or 8.5.6 LTS|\r\n|from 8.0.0 to 8.0.4|8.8.0 recommended or 8.5.6 LTS|\r\n|from 7.20.0 to 7.20.3|8.8.0 recommended or 8.5.6 LTS|\r\n|from 7.19.0 to 7.19.17 LTS|8.8.0 recommended or 8.5.6 LTS or 7.19.18 LTS or 7.19.19 LTS|\r\n|from 7.18.0 to 7.18.3|8.8.0 recommended or 8.5.6 LTS or 7.19.19 LTS|\r\n|from 7.17.0 to 7.17.5|8.8.0 recommended or 8.5.6 LTS or 7.19.19 LTS|\r\n|Any earlier versions|8.8.0 recommended or 8.5.6 LTS or 7.19.19 LTS|\r\nServer\r\n\r\nAtlassian recommends that Confluence Server customers upgrade to the latest 8.5.x LTS version. If you are unable to do so, upgrade your instance to one of the specified supported fixed versions:\r\n\r\n \r\n||Affected versions||Fixed versions||\r\n|from 8.5.0 to 8.5.4 LTS|8.5.5 LTS or 8.5.6 LTS recommended |\r\n|from 8.4.0 to 8.4.5|8.5.6 LTS recommended|\r\n|from 8.3.0 to 8.3.4|8.5.6 LTS recommended|\r\n|from 8.2.0 to 8.2.3|8.5.6 LTS recommended|\r\n|from 8.1.0 to 8.1.4|8.5.6 LTS recommended|\r\n|from 8.0.0 to 8.0.4|8.5.6 LTS recommended|\r\n|from 7.20.0 to 7.20.3|8.5.6 LTS recommended|\r\n|from 7.19.0 to 7.19.17 LTS|8.5.6 LTS recommended or 7.19.18 LTS or 7.19.19 LTS|\r\n|from 7.18.0 to 7.18.3|8.5.6 LTS recommended or 7.19.19 LTS|\r\n|from 7.17.0 to 7.17.5|8.5.6 LTS recommended or 7.19.19 LTS|\r\n|Any earlier versions|8.5.6 LTS recommended or 7.19.19 LTS|\r\n\r\nSee the release notes ([https://confluence.atlassian.com/doc/confluence-release-notes-327.html]). You can download the latest version of Confluence Data Center from the download center ([https://www.atlassian.com/software/confluence/download-archives]).\r\n\r\nThis vulnerability was reported via our Bug Bounty program.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site scripting in Confluence Data Center","id":"CVE-2024-21678","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"To maintain compliance with CNA rules, we have rejected this CVE record because it has not been used.","id":"CVE-2024-21679"},"packages":[],"prev":{"headline":"Path traversal in Confluence Data Center","id":"CVE-2024-21677"},"products":["Confluence Data Center"],"published":"2024-02-20","related":[{"cvss_score":10,"headline":"Atlassian Confluence Data Center and Server Template Injection","id":"CVE-2023-22527","kev_date_added":"2024-01-24","published":"2024-01-16"},{"cvss_score":10,"headline":"Atlassian Confluence Data Center and Server Improper Authorization","id":"CVE-2023-22518","kev_date_added":"2023-11-07","published":"2023-10-31"},{"cvss_score":10,"headline":"Atlassian Confluence Data Center and Server Broken Access Control","id":"CVE-2023-22515","kev_date_added":"2023-10-05","published":"2023-10-04"},{"cvss_score":9.8,"headline":"Atlassian Confluence Server and Data Center Remote Code Execution","id":"CVE-2022-26134","kev_date_added":"2022-06-02","published":"2022-06-03"},{"cvss_score":9.8,"headline":"Atlassian Confluence Server and Data Center Object-Graph Navigation Language (OGNL) Injection","id":"CVE-2021-26084","kev_date_added":"2021-11-03","published":"2021-08-30"},{"cvss_score":5.3,"headline":"Atlassian Confluence Server Pre-Authorization Arbitrary File Read","id":"CVE-2021-26085","kev_date_added":"2022-03-28","published":"2021-08-03"},{"cvss_score":9,"headline":"Code injection in Confluence Data Center","id":"CVE-2023-22522","kev_date_added":null,"published":"2023-12-06"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-31","vendors":["Atlassian"]},"summary":"Authenticated attackers can inject malicious scripts into Confluence Data Center, allowing arbitrary code execution in victim browsers.","url":"https://insights.sbomify.com/CVE-2024-21678/"}