Advisory

PYSEC-2026-1402

Also known as: CVE-2025-11687, GHSA-6p6h-rqr6-62mv

Summary

GI-DocGen vulnerable to Reflected XSS via unescaped query strings

Details

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

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

gi-docgen

PyPI · All systems

Affected

  • introduced 0, fixed 2025.5 (ecosystem)

Fixed versions

2025.5

Fix

  • Fixed version 2025.5
    pip install --upgrade gi-docgen==2025.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences