{"answers":{"affected":"3 open source packages ship an affected version, including github.com/apache/incubator-answer and github.com/apache/answer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25688 in the wild and no public exploit code.","fix":"Upgrade github.com/apache/incubator-answer to 1.7.2-0.20260525024654-2746bf5b455f or later.","what":"CVE-2026-25688 is a medium-severity cross-site scripting vulnerability in Apache Answer, published on 9 Jun 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-25688 and fix it if it is affected.\n\nWhat it is: CVE-2026-25688 is a medium-severity cross-site scripting vulnerability in Apache Answer, published on 9 Jun 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-25688 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apache/incubator-answer (Go): affected all versions; fixed in 1.7.2-0.20260525024654-2746bf5b455f\n- github.com/apache/incubator-answer (Go): affected all versions; fixed in 1.7.2-0.20260525024654-2746bf5b455f\n- github.com/apache/answer (Go): affected all versions; fixed in 1.7.2-0.20260525024654-2746bf5b455f\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-25688/ (Markdown: https://insights.sbomify.com/CVE-2026-25688/index.md)","id":"CVE-2026-25688","markdown":"https://insights.sbomify.com/CVE-2026-25688/index.md","name":"CVE-2026-25688","record":{"aliases":["GHSA-hmr2-99jm-8x45","GO-2026-6147"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Answer","requires_auth":"none","summary":"Attackers can execute malicious scripts in users' browsers via unsanitized AI-generated content in Apache Answer.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"answer","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-87","name":"Improper Neutralization of Alternate XSS Syntax"}],"description":"Improper Neutralization of Alternate XSS Syntax vulnerability in Apache Answer.\n\nThis issue affects Apache Answer: through 2.0.0.\n\nAI-generated response content was rendered in the browser without proper sanitization, allowing malicious scripts to be executed when the content was viewed.\nUsers are recommended to upgrade to version 2.0.1, which fixes the issue.","ecosystems":["Go"],"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 Answer: XSS in AI Answer Rendering","id":"CVE-2026-25688","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Command injection in FortiDeceptor","id":"CVE-2026-25689"},"packages":[{"ecosystem":"Go","fixed":["1.7.2-0.20260525024654-2746bf5b455f"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/answer","purl":"pkg:golang/github.com/apache/answer","source":"GO-2026-6147"},{"ecosystem":"Go","fixed":["1.7.2-0.20260525024654-2746bf5b455f"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/incubator-answer","purl":null,"source":"GHSA-hmr2-99jm-8x45"},{"ecosystem":"Go","fixed":["1.7.2-0.20260525024654-2746bf5b455f"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/incubator-answer","purl":"pkg:golang/github.com/apache/incubator-answer","source":"GHSA-hmr2-99jm-8x45"}],"prev":{"headline":"ZCC race condition in ZPA tunnel handler","id":"CVE-2026-25687"},"products":["Apache Answer"],"published":"2026-06-09","related":[{"cvss_score":9.1,"headline":"Apache Answer: Residual Administrative API Key Access After Role or Account Revocation","id":"CVE-2026-60053","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":9.1,"headline":"Apache Answer: Pixel Flood Attack by uploading the large pixel file","id":"CVE-2024-22393","kev_date_added":null,"published":"2024-02-22"},{"cvss_score":7.5,"headline":"Apache Answer: Denial of service via crafted Accept-Language header parsing","id":"CVE-2026-48834","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.5,"headline":"Apache Answer: Unauthenticated OAuth Email-Binding Account Takeover via Existing User Confirmation Flow","id":"CVE-2026-48911","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.5,"headline":"Apache Answer: Unauthorized disclosure of deleted or pending answer content","id":"CVE-2026-60023","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.5,"headline":"Apache Answer: Revision API Improper Access Control leads to Information Disclosure","id":"CVE-2026-24735","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":7.2,"headline":"Apache Answer: AdminToken not invalidated after admin deactivation","id":"CVE-2026-25700","kev_date_added":null,"published":"2026-06-10"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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-06-09","vendors":["Apache Software Foundation"]},"summary":"Attackers can execute malicious scripts in users' browsers via unsanitized AI-generated content in Apache Answer.","url":"https://insights.sbomify.com/CVE-2026-25688/"}