CVE-2025-11687: GI-DocGen vulnerable to Reflected XSS via unescaped query strings
A flaw was found in 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).
Published Jan 26, 2026 · Updated Jan 27, 2026
Affected packages
gi-docgen
- Ecosystem
- PyPI
- Affected
- < 2025.5
- Fixed in
- 2025.5
- Check
pip show gi-docgen
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A flaw was found in 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).
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11687
- https://access.redhat.com/security/cve/CVE-2025-11687
- https://bugzilla.redhat.com/show_bug.cgi?id=2403536
- https://gitlab.gnome.org/GNOME/gi-docgen/-/issues/228
- https://gitlab.gnome.org/GNOME/gi-docgen/-/commit/65d16b8ac178900602da540c8f5df4f52d5e8cf6
- https://github.com/advisories/GHSA-6p6h-rqr6-62mv
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
