{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-22522 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-22522 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-22522 is a critical code injection vulnerability in Atlassian Confluence Data Center, published on 6 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22522 and fix it if it is affected.\n\nWhat it is: CVE-2023-22522 is a critical code injection vulnerability in Atlassian Confluence Data Center, published on 6 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-22522 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-2023-22522/ (Markdown: https://insights.sbomify.com/CVE-2023-22522/index.md)","id":"CVE-2023-22522","markdown":"https://insights.sbomify.com/CVE-2023-22522/index.md","name":"CVE-2023-22522","record":{"aliases":["GHSA-rcjw-44p8-ppj6"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Confluence Server","requires_auth":"none","summary":"Authenticated attackers can inject unsafe input into Confluence pages to achieve remote code execution on affected Data Center and Server instances.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"atlassian","cpe":[{"product":"confluence_data_center","vendor":"atlassian"},{"product":"confluence_server","vendor":"atlassian"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"This Template Injection vulnerability allows an authenticated attacker, including one with anonymous access, to inject unsafe user input into a Confluence page. Using this approach, an attacker is able to achieve Remote Code Execution (RCE) on an affected instance. Publicly accessible Confluence Data Center and Server versions as listed below are at risk and require immediate attention. See the advisory for additional details\n\nAtlassian Cloud sites are not affected by this vulnerability. If your Confluence site is accessed via an atlassian.net domain, it is hosted by Atlassian and is not vulnerable to this issue.","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":"Code injection in Confluence Data Center","id":"CVE-2023-22522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in Assets Discovery Cloud","id":"CVE-2023-22523"},"packages":[],"prev":{"headline":"Code injection in Crowd Data Center","id":"CVE-2023-22521"},"products":["Confluence Data Center","Confluence Server"],"published":"2023-12-06","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"}],"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":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Atlassian"]},"summary":"Authenticated attackers can inject unsafe input into Confluence pages to achieve remote code execution on affected Data Center and Server instances.","url":"https://insights.sbomify.com/CVE-2023-22522/"}