{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-45612 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-45612 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-45612 is a high-severity vulnerability in JetBrains Ktor, published on 9 Oct 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-45612 and fix it if it is affected.\n\nWhat it is: CVE-2023-45612 is a high-severity vulnerability in JetBrains Ktor, published on 9 Oct 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-45612 in the wild and no public exploit code.\n\nAffected product: JetBrains Ktor. 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-45612/ (Markdown: https://insights.sbomify.com/CVE-2023-45612/index.md)","id":"CVE-2023-45612","markdown":"https://insights.sbomify.com/CVE-2023-45612/index.md","name":"CVE-2023-45612","record":{"aliases":["GHSA-q42m-mp58-hxv5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Kotlin web framework","requires_auth":"none","summary":"Attackers can exploit XML External Entity vulnerabilities in JetBrains Ktor's default XML content negotiation configuration to read sensitive data or cause denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JetBrains","cpe":[{"product":"ktor","vendor":"jetbrains"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"In JetBrains Ktor before 2.3.5 default configuration of ContentNegotiation with XML format was vulnerable to XXE","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-10-03","github_poc":7,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-10-03T14:59:26Z","kind":"github_poc","ref":"https://github.com/infernosalex/CVE-2023-45612-PoC","stars":1,"title":"Proof-of-Concept of CVE-2023-45612"},{"date":"2025-10-15T20:42:21Z","kind":"github_poc","ref":"https://github.com/aecelen/ktor-xxe-poc","stars":1,"title":"PoC for CVE-2023-45612"},{"date":"2025-11-07T15:47:22Z","kind":"github_poc","ref":"https://github.com/stefan-500/ktor-cve-2023-45612-poc","stars":1,"title":"Ktor XXE Injection Proof-of-Concept (CVE-2023-45612)"},{"date":"2025-10-22T15:16:04Z","kind":"github_poc","ref":"https://github.com/clemfavre/cve-2023-45612_exploit","stars":0,"title":"Reproduction of a high severty security problem that allows XXE (XML eXternal Entity) attacks on Ktor's XML serialization."},{"date":"2025-10-23T08:29:46Z","kind":"github_poc","ref":"https://github.com/razvanclaudiu/ktor-xxe-poc","stars":0,"title":"This repository provides a Proof of Concept for CVE-2023-45612, demonstrating an XML External Entity (XXE) injection vulnerability in JetBrains Ktor versions prior to 2.3.5."},{"date":"2025-11-04T14:16:39Z","kind":"github_poc","ref":"https://github.com/seraphimi/ktor-xxe","stars":0,"title":"CVE-2023-45612 POC and vulnerable project."},{"date":"2025-11-07T18:44:24Z","kind":"github_poc","ref":"https://github.com/ksaweryr/CVE-2023-45612-PoC","stars":0,"title":"Proof of concept for XXE in Ktor (CVE-2023-45612)"}],"tier":"poc_unverified"},"has_fix":false,"headline":"XML external entity in Ktor","id":"CVE-2023-45612","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xxe","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in Ktor","id":"CVE-2023-45613"},"packages":[],"prev":{"headline":"WordPress Powr Pack Plugin \u003c= 2.1.0 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-45609"},"products":["Ktor"],"published":"2023-10-09","related":[{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12736","kev_date_added":null,"published":"2019-10-02"},{"cvss_score":8.7,"headline":"SHA1 implementation in JetBrains Ktor Native 2.0.0 was returning the same value.","id":"CVE-2022-29930","kev_date_added":null,"published":"2022-05-12"},{"cvss_score":7.5,"headline":"Path traversal in Ktor","id":"CVE-2022-48476","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2021-43203","kev_date_added":null,"published":"2021-11-09"},{"cvss_score":6.8,"headline":"Security feature bypass in Ktor","id":"CVE-2023-45613","kev_date_added":null,"published":"2023-10-09"},{"cvss_score":6.5,"headline":"Other in n/a","id":"CVE-2020-26129","kev_date_added":null,"published":"2020-11-16"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-19","vendors":["JetBrains"]},"summary":"Attackers can exploit XML External Entity vulnerabilities in JetBrains Ktor's default XML content negotiation configuration to read sensitive data or cause denial of service.","url":"https://insights.sbomify.com/CVE-2023-45612/"}