PYSEC-2026-1402

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/gi-docgen/PYSEC-2026-1402.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-1402
Aliases
Published
2026-07-07T16:03:20.292095Z
Modified
2026-07-07T17:46:43.204367557Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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).

References

Affected packages

PyPI / gi-docgen

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2025.5

Affected versions

2021.*
2021.1
2021.2
2021.3
2021.4
2021.5
2021.6
2021.7
2021.8
2022.*
2022.1
2022.2
2023.*
2023.1
2023.2
2023.3
2024.*
2024.1
2025.*
2025.3
2025.4

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/gi-docgen/PYSEC-2026-1402.yaml"