CVE-2025-11687
JSON

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 packageVersionsReported by
gi-docgenbefore 2025.5CVE List
gi-docgen (PyPI)before 2025.5GitHub Advisory Database, PyPA Advisory Database

All scores

redhat6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2025-11687 changed 2026-01-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-6p6h-rqr6-62mv changed 2026-07-07CC-BY-4.0
NVDCVE-2025-11687 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1402 changed 2026-07-07CC-BY-4.0