{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.wicket:wicket-parent. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42509 in the wild and no public exploit code.","fix":"Upgrade org.apache.wicket:wicket-parent to 10.9.0 or later.","what":"CVE-2026-42509 is a medium-severity cross-site scripting vulnerability in Apache Wicket, published on 6 May 2026. 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-2026-42509 and fix it if it is affected.\n\nWhat it is: CVE-2026-42509 is a medium-severity cross-site scripting vulnerability in Apache Wicket, published on 6 May 2026. 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-2026-42509 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.wicket:wicket-parent (Maven): affected from 10.0.0-M1; fixed in 10.9.0\n- org.apache.wicket:wicket-parent (Maven): affected from 10.0.0-M1; fixed in 10.9.0\n- org.apache.wicket:wicket-parent (Maven): affected from 8.0.0-M1 up to 8.17.0; no fix listed\n- org.apache.wicket:wicket-parent (Maven): affected from 8.0.0-M1 up to 8.17.0; no fix listed\n- org.apache.wicket:wicket-parent (Maven): affected from 9.0.0-M1 up to 9.22.0; no fix listed\n- org.apache.wicket:wicket-parent (Maven): affected from 9.0.0-M1 up to 9.22.0; no fix listed\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-2026-42509/ (Markdown: https://insights.sbomify.com/CVE-2026-42509/index.md)","id":"CVE-2026-42509","markdown":"https://insights.sbomify.com/CVE-2026-42509/index.md","name":"CVE-2026-42509","record":{"aliases":["GHSA-5x9h-93gp-chpj"],"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 inject malicious scripts via crafted strings in Apache Wicket, potentially executing code in user browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"wicket","vendor":"apache"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache Wicket.\n\nThis issue affects Apache Wicket: from 8.0.0 through 8.17.0, 9.0.0, from 10.0.0 through 10.8.0.\n\nUsers are recommended to upgrade to version 10.9.0, which fixes the 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: crafted strings can break out of the JavaScript sequence","id":"CVE-2026-42509","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"OpenStack Ironic is Vulnerable to Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2026-42510"},"packages":[{"ecosystem":"Maven","fixed":["10.9.0"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.wicket:wicket-parent","purl":null,"source":"GHSA-5x9h-93gp-chpj"},{"ecosystem":"Maven","fixed":["10.9.0"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.wicket:wicket-parent","purl":"pkg:maven/org.apache.wicket/wicket-parent","source":"GHSA-5x9h-93gp-chpj"},{"ecosystem":"Maven","fixed":[],"introduced":["8.0.0-M1"],"last_affected":["8.17.0"],"package":"org.apache.wicket:wicket-parent","purl":null,"source":"GHSA-5x9h-93gp-chpj"},{"ecosystem":"Maven","fixed":[],"introduced":["8.0.0-M1"],"last_affected":["8.17.0"],"package":"org.apache.wicket:wicket-parent","purl":"pkg:maven/org.apache.wicket/wicket-parent","source":"GHSA-5x9h-93gp-chpj"},{"ecosystem":"Maven","fixed":[],"introduced":["9.0.0-M1"],"last_affected":["9.22.0"],"package":"org.apache.wicket:wicket-parent","purl":null,"source":"GHSA-5x9h-93gp-chpj"},{"ecosystem":"Maven","fixed":[],"introduced":["9.0.0-M1"],"last_affected":["9.22.0"],"package":"org.apache.wicket:wicket-parent","purl":"pkg:maven/org.apache.wicket/wicket-parent","source":"GHSA-5x9h-93gp-chpj"}],"prev":{"headline":"Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts","id":"CVE-2026-42508"},"products":["Apache Wicket"],"published":"2026-05-06","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":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":"partial"},"state":"PUBLISHED","updated":"2026-05-07","vendors":["Apache Software Foundation"]},"summary":"Attackers can inject malicious scripts via crafted strings in Apache Wicket, potentially executing code in user browsers.","url":"https://insights.sbomify.com/CVE-2026-42509/"}