{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.wicket:wicket-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-6806 in the wild and no public exploit code.","fix":"Upgrade org.apache.wicket:wicket-core to a fixed version for your release line: 6.25.0, 7.5.0 or 8.0.0-M2.","what":"CVE-2016-6806 is a high-severity vulnerability in Apache Wicket, published on 2 Oct 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-6806 and fix it if it is affected.\n\nWhat it is: CVE-2016-6806 is a high-severity vulnerability in Apache Wicket, published on 2 Oct 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-6806 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.wicket:wicket-core (Maven): affected from 6.20.0; fixed in 6.25.0\n- org.apache.wicket:wicket-core (Maven): affected from 6.20.0; fixed in 6.25.0\n- org.apache.wicket:wicket-core (Maven): affected from 7.0.0; fixed in 7.5.0\n- org.apache.wicket:wicket-core (Maven): affected from 7.0.0; fixed in 7.5.0\n- org.apache.wicket:wicket-core (Maven): affected from 8.0.0-M1; fixed in 8.0.0-M2\n- org.apache.wicket:wicket-core (Maven): affected from 8.0.0-M1; fixed in 8.0.0-M2\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-2016-6806/ (Markdown: https://insights.sbomify.com/CVE-2016-6806/index.md)","id":"CVE-2016-6806","markdown":"https://insights.sbomify.com/CVE-2016-6806/index.md","name":"CVE-2016-6806","record":{"aliases":["GHSA-xc66-mg8r-q6r5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Apache Wicket's CSRF protection failed to check Referer headers and some server-side targets, allowing attackers to bypass CSRF defenses.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"wicket","vendor":"apache"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Apache Wicket 6.x before 6.25.0, 7.x before 7.5.0, and 8.0.0-M1 provide a CSRF prevention measure that fails to discover some cross origin requests. The mitigation is to not only check the Origin HTTP header, but also take the Referer HTTP header into account when no Origin was provided. Furthermore, not all Wicket server side targets were subjected to the CSRF check. This was also fixed.","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 vulnerable to CSRF attacks","id":"CVE-2016-6806","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"csrf","year":"2016"},"n_packages":6,"n_references":1,"next":{"headline":"Apache Ambari Improper Access Control","id":"CVE-2016-6807"},"packages":[{"ecosystem":"Maven","fixed":["6.25.0"],"introduced":["6.20.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":null,"source":"GHSA-xc66-mg8r-q6r5"},{"ecosystem":"Maven","fixed":["6.25.0"],"introduced":["6.20.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":"pkg:maven/org.apache.wicket/wicket-core","source":"GHSA-xc66-mg8r-q6r5"},{"ecosystem":"Maven","fixed":["7.5.0"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":null,"source":"GHSA-xc66-mg8r-q6r5"},{"ecosystem":"Maven","fixed":["7.5.0"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":"pkg:maven/org.apache.wicket/wicket-core","source":"GHSA-xc66-mg8r-q6r5"},{"ecosystem":"Maven","fixed":["8.0.0-M2"],"introduced":["8.0.0-M1"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":null,"source":"GHSA-xc66-mg8r-q6r5"},{"ecosystem":"Maven","fixed":["8.0.0-M2"],"introduced":["8.0.0-M1"],"last_affected":[],"package":"org.apache.wicket:wicket-core","purl":"pkg:maven/org.apache.wicket/wicket-core","source":"GHSA-xc66-mg8r-q6r5"}],"prev":{"headline":"Moderate severity vulnerability that affects org.apache.ignite:ignite-core","id":"CVE-2016-6805"},"products":["Apache Wicket"],"published":"2017-10-02","related":[{"cvss_score":9.8,"headline":"Apache Wicket: Remote code execution via XSLT injection","id":"CVE-2024-36522","kev_date_added":null,"published":"2024-07-12"},{"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":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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"Apache Wicket's CSRF protection failed to check Referer headers and some server-side targets, allowing attackers to bypass CSRF defenses.","url":"https://insights.sbomify.com/CVE-2016-6806/"}