Cross-site Scripting (XSS) Affecting gi-docgen-doc package, versions <0:2024.1-44.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.38% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GIDOCGENDOC-13731464
  • published29 Oct 2025
  • disclosed26 Jan 2026

Introduced: 29 Oct 2025

CVE-2025-11687  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 gi-docgen-doc to version 0:2024.1-44.amzn2023 or higher.
This issue was patched in ALAS2023-2025-1247.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gi-docgen-doc package and not the gi-docgen-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw was found in the gi-docgen. This vulnerability allows arbitrary JavaScript execution in the context of the page — enabling DOM access, session cookie theft and other client-side attacks — via a crafted URL that supplies a malicious value to the q GET parameter (reflected DOM XSS).

CVSS Base Scores

version 3.1