medium6.1
CVE-2025-11687
GI-DocGen vulnerable to Reflected XSS via unescaped query strings
Impact
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).
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | gi-docgen | < 2025.5 | 2025.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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://github.com/advisories/GHSA-6p6h-rqr6-62mv
- https://nvd.nist.gov/vuln/detail/CVE-2025-11687
- https://gitlab.gnome.org/GNOME/gi-docgen/-/commit/65d16b8ac178900602da540c8f5df4f52d5e8cf6