CVE-2026-25688: Github.com/apache/incubator answer Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-hmr2-99jm-8x45
CVSS 6.1
CWE-87
Published
Advisory Summary

CVE-2026-25688 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-87: Improper Neutralization of Alternate XSS Syntax) affecting Github.com/apache/incubator answer libraries in the Go ecosystem. The issue involves apache answer has an improper neutralization of alternate xss syntax vulnerability. Remediation is available by upgrading affected packages to version 1.7.2-0.20260525024654-2746bf5b455f.

CVE-2026-25688 at a Glance

CVE Identifier CVE-2026-25688
GHSA Identifier GHSA-hmr2-99jm-8x45
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-87: Improper Neutralization of Alternate XSS Syntax
Affected Product Github.com/apache/incubator answer
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-25688

To remediate this vulnerability, upgrade all affected Github.com/apache/incubator answer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/apache/incubator-answer fixed: 1.7.2-0.20260525024654-2746bf5b455f
Upgrade github.com/apache/incubator-answer to 1.7.2-0.20260525024654-2746bf5b455f
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/apache/incubator-answer

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-25688, inspect your project dependencies for Github.com/apache/incubator answer:

inspect dependencies for github.com/apache/incubator-answer

Analyze the terminal output to locate any version of Github.com/apache/incubator answer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.2-0.20260525024654-2746bf5b455f), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-87: Improper Neutralization of Alternate XSS Syntax, where the product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax. In Github.com/apache/incubator answer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-25688 Affected Github.com/apache/incubator answer Versions

1 component(s)
Fixed Versions:
1.7.2-0.20260525024654-2746bf5b455f
Product / Package Ecosystem Affected Versions Fixed Version
github.com/apache/incubator-answer
Go
< 1.7.2-0.20260525024654-2746bf5b455f
1.7.2-0.20260525024654-2746bf5b455f

References

Frequently Asked Questions

What is CVE-2026-25688?
CVE-2026-25688 is a security vulnerability in Github.com/apache/incubator answer involving Apache Answer has an Improper Neutralization of Alternate XSS Syntax vulnerability under CWE-87: Improper Neutralization of Alternate XSS Syntax.
Which Github.com/apache/incubator answer versions are affected?
Affected versions include releases prior to 1.7.2-0.20260525024654-2746bf5b455f across affected packages: github.com/apache/incubator-answer.
What version fixes CVE-2026-25688?
Upgrading to 1.7.2-0.20260525024654-2746bf5b455f (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/apache/incubator-answer affected?
Yes, github.com/apache/incubator-answer is affected in releases prior to 1.7.2-0.20260525024654-2746bf5b455f. Upgrade your dependency to 1.7.2-0.20260525024654-2746bf5b455f or later.
What is the CVSS score of CVE-2026-25688?
CVE-2026-25688 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-25688?
CVE-2026-25688 is classified under CWE-87: Improper Neutralization of Alternate XSS Syntax (The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax.).
How can I check Go dependencies for CVE-2026-25688?
Run the dependency tree command: 'inspect dependencies for github.com/apache/incubator-answer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hmr2-99jm-8x45",
  "modified" : "2026-07-30T16:49:25Z",
  "published" : "2026-06-09T09:32:07Z",
  "aliases" : [ "CVE-2026-25688" ],
  "summary" : "Apache Answer has an Improper Neutralization of Alternate XSS Syntax vulnerability",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/incubator-answer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.2-0.20260525024654-2746bf5b455f"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25688"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/answer"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/x42joj43rqb38ms5q60f7bgq3qbo7t5q"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/06/09/7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-87" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-30T16:49:25Z",
    "nvd_published_at" : "2026-06-09T09:16:28Z"
  }
}