{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.wicket:wicket-util. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-36522 in the wild and no public exploit code.","fix":"Upgrade org.apache.wicket:wicket-util to a fixed version for your release line: 10.1.0, 8.16.0 or 9.18.0.","what":"CVE-2024-36522 is a critical code injection vulnerability in Apache Wicket, published on 12 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-36522 and fix it if it is affected.\n\nWhat it is: CVE-2024-36522 is a critical code injection vulnerability in Apache Wicket, published on 12 Jul 2024. 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-2024-36522 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.wicket:wicket-util (Maven): affected from 10.0.0-M1; fixed in 10.1.0\n- org.apache.wicket:wicket-util (Maven): affected from 10.0.0-M1; fixed in 10.1.0\n- org.apache.wicket:wicket-util (Maven): affected from 8.0.0; fixed in 8.16.0\n- org.apache.wicket:wicket-util (Maven): affected from 8.0.0; fixed in 8.16.0\n- org.apache.wicket:wicket-util (Maven): affected from 9.0.0; fixed in 9.18.0\n- org.apache.wicket:wicket-util (Maven): affected from 9.0.0; fixed in 9.18.0\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-36522/ (Markdown: https://insights.sbomify.com/CVE-2024-36522/index.md)","id":"CVE-2024-36522","markdown":"https://insights.sbomify.com/CVE-2024-36522/index.md","name":"CVE-2024-36522","record":{"aliases":["GHSA-hhwc-gh8h-9rrp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can execute arbitrary code via XSLT injection in Apache Wicket when processing untrusted input without validation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"wicket","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"The default configuration of XSLTResourceStream.java is vulnerable to remote code execution via XSLT injection when processing input from an untrusted source without validation.\nUsers are recommended to upgrade to versions 10.1.0, 9.18.0 or 8.16.0, which fix this issue.","ecosystems":["Maven"],"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":"Apache Wicket: Remote code execution via XSLT injection","id":"CVE-2024-36522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":6,"n_references":2,"next":{"headline":"Auth bypass in n/a","id":"CVE-2024-36523"},"packages":[{"ecosystem":"Maven","fixed":["10.1.0"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.wicket:wicket-util","purl":null,"source":"GHSA-hhwc-gh8h-9rrp"},{"ecosystem":"Maven","fixed":["10.1.0"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.wicket:wicket-util","purl":"pkg:maven/org.apache.wicket/wicket-util","source":"GHSA-hhwc-gh8h-9rrp"},{"ecosystem":"Maven","fixed":["8.16.0"],"introduced":["8.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-util","purl":null,"source":"GHSA-hhwc-gh8h-9rrp"},{"ecosystem":"Maven","fixed":["8.16.0"],"introduced":["8.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-util","purl":"pkg:maven/org.apache.wicket/wicket-util","source":"GHSA-hhwc-gh8h-9rrp"},{"ecosystem":"Maven","fixed":["9.18.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-util","purl":null,"source":"GHSA-hhwc-gh8h-9rrp"},{"ecosystem":"Maven","fixed":["9.18.0"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-util","purl":"pkg:maven/org.apache.wicket/wicket-util","source":"GHSA-hhwc-gh8h-9rrp"}],"prev":{"headline":"SQL Injection","id":"CVE-2024-36518"},"products":["Apache Wicket"],"published":"2024-07-12","related":[{"cvss_score":9.1,"headline":"Apache Wicket: possible session fixation using AuthenticatedWebSession","id":"CVE-2026-40010","kev_date_added":null,"published":"2026-05-06"},{"cvss_score":9.1,"headline":"Deserialization in n/a","id":"CVE-2016-6793","kev_date_added":null,"published":"2017-07-14"},{"cvss_score":8.8,"headline":"Apache Wicket vulnerable to CSRF attacks","id":"CVE-2016-6806","kev_date_added":null,"published":"2017-10-02"},{"cvss_score":7.5,"headline":"Apache Wicket: Configured file upload limits are not enforced when the multipart request has already been parsed","id":"CVE-2026-71257","kev_date_added":null,"published":"2026-08-31"},{"cvss_score":7.5,"headline":"Apache Wicket: crafted URLs can bypass PackageResourceGuard","id":"CVE-2026-43646","kev_date_added":null,"published":"2026-05-06"},{"cvss_score":7.5,"headline":"DNS proxy and possible amplification attack","id":"CVE-2021-23937","kev_date_added":null,"published":"2021-05-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"2025-02-13","vendors":["Apache Software Foundation"]},"summary":"Attackers can execute arbitrary code via XSLT injection in Apache Wicket when processing untrusted input without validation.","url":"https://insights.sbomify.com/CVE-2024-36522/"}