CVE-2025-11687: gi-docgen · Cross-site Scripting
Affects gi-docgenSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubgnome/gi-docgenpkg:github/gnome/gi-docgenOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-11687, organizations should implement strict input validation and output encoding for all user-supplied data, especially parameters like q that are reflected in web pages. Employing Content Security Policy (CSP) headers can help restrict the execution of unauthorized scripts. Developers should update gi-docgen to patched versions once available and review custom integrations for similar input handling flaws. Security teams should educate users about the risks of clicking on suspicious URLs and implement email filtering to reduce phishing attempts. Monitoring web traffic and logs for unusual query parameters or repeated attempts to exploit XSS can aid early detection. For environments hosting gi-docgen-generated documentation, consider isolating these services and enforcing strict access controls. Additionally, adopting automated security testing tools that detect DOM-based XSS during development and deployment can prevent future vulnerabilities.
Description
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).