Advisory

GHSA-6p6h-rqr6-62mv

Also known as: CVE-2025-11687, PYSEC-2026-1402

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: The source's own band: MODERATE

Dates

Published
2026-01-26 21:30 UTC
Modified
2026-07-07 17:57 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences