6.1medium
Gi-docgen: reflected dom xss in gi-docgen
- Severity
- 6.1medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-6p6h-rqr6-62mvPYSEC-2026-1402
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gi-docgen | before 2025.5 | CVE List |
| gi-docgen (PyPI) | before 2025.5 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| redhat | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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).
GitHub Advisory Database
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).
NVD (es)
Se encontró un defecto en gi-docgen. Esta vulnerabilidad permite la ejecución arbitraria de JavaScript en el contexto de la página — permitiendo el acceso al DOM, el robo de cookies de sesión y otros ataques del lado del cliente — a través de una URL manipulada que suministra un valor malicioso al parámetro GET q (XSS DOM reflejado).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-11687 changed 2026-01-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6p6h-rqr6-62mv changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-11687 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1402 changed 2026-07-07 | CC-BY-4.0 |