CVE-2026-25688 Apache Answer: XSS in AI Answer Rendering

Medium 6.1 Published Updated

Attackers can execute malicious scripts in users' browsers via unsanitized AI-generated content in Apache Answer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-25688?

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.

Official description

Improper Neutralization of Alternate XSS Syntax vulnerability in Apache Answer.

This issue affects Apache Answer: through 2.0.0.

AI-generated response content was rendered in the browser without proper sanitization, allowing malicious scripts to be executed when the content was viewed. Users are recommended to upgrade to version 2.0.1, which fixes the issue.

Weakness: CWE-87

Which versions are affected by CVE-2026-25688?

3 open source packages ship an affected version, including github.com/apache/incubator-answer and github.com/apache/answer. It affects 1 product.

PackageAffectedFixed in
github.com/apache/incubator-answer GoAll versions1.7.2-0.20260525024654-2746bf5b455f
github.com/apache/incubator-answer GoAll versions1.7.2-0.20260525024654-2746bf5b455f
github.com/apache/answer GoAll versions1.7.2-0.20260525024654-2746bf5b455f

Products include Apache Answer.

How do I fix CVE-2026-25688?

Upgrade github.com/apache/incubator-answer to 1.7.2-0.20260525024654-2746bf5b455f or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-25688 being exploited?

There is no known exploitation of CVE-2026-25688 in the wild and no public exploit code.

Sources

Also known as GHSA-hmr2-99jm-8x45, GO-2026-6147.

Is CVE-2026-25688 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free