CVE-2026-25688 Apache Answer: XSS in AI Answer Rendering
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/apache/incubator-answer Go | All versions | 1.7.2-0.20260525024654-2746bf5b455f |
github.com/apache/incubator-answer Go | All versions | 1.7.2-0.20260525024654-2746bf5b455f |
github.com/apache/answer Go | All versions | 1.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.
Other vulnerabilities in Apache Answer
- CVE-2026-60053 Apache Answer: Residual Administrative API Key Access After Role or Account Revocation
- CVE-2024-22393 Apache Answer: Pixel Flood Attack by uploading the large pixel file
- CVE-2026-48834 Apache Answer: Denial of service via crafted Accept-Language header parsing
- CVE-2026-48911 Apache Answer: Unauthenticated OAuth Email-Binding Account Takeover via Existing User Confirmation Flow
- CVE-2026-60023 Apache Answer: Unauthorized disclosure of deleted or pending answer content
Sources
Also known as GHSA-hmr2-99jm-8x45, GO-2026-6147.