gi-docgen — security advisory
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).
- Products
- gi-docgen
- Affected versions
- 2021.8+ds1-2, 2022.1+ds-1, 2023.1+ds-3, 2023.1+ds-4, 2023.1+ds-5, 2023.3+ds-1, 2025.3-1, 2025.5-1, 2026.1-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-11687
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:24 UTC · Revision 1
Source evidence
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).
osv:UBUNTU-CVE-2025-11687
gi-docgen
Fixed versions: Not specified
gi-docgen
Fixed versions: Not specified
gi-docgen
Fixed versions: Not specified
gi-docgen
Fixed versions: Not specified
gi-docgen
Fixed versions: Not specified
Complete source record
{
"id": "58d205d1e61a53d8e07c601566c4797fdb9622379d96dd3ee1250ad1c2c83982",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-11687",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-11687",
"summary": "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).",
"evidence": "osv:UBUNTU-CVE-2025-11687",
"products": [
{
"name": {
"value": "gi-docgen",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2021.8+ds1-2",
"evidence": "/affected/0/versions"
},
{
"value": "2022.1+ds-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gi-docgen",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2023.1+ds-3",
"evidence": "/affected/1/versions"
},
{
"value": "2023.1+ds-4",
"evidence": "/affected/1/versions"
},
{
"value": "2023.1+ds-5",
"evidence": "/affected/1/versions"
},
{
"value": "2023.3+ds-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "gi-docgen",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2025.3-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "gi-docgen",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2026.1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "gi-docgen",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2025.3-1",
"evidence": "/affected/4/versions"
},
{
"value": "2025.5-1",
"evidence": "/affected/4/versions"
},
{
"value": "2026.1-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-11687",
"aliases": [
"UBUNTU-CVE-2025-11687"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gi-docgen",
"purl": "pkg:deb/ubuntu/gi-docgen?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2021.8+ds1-2",
"2022.1+ds-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11687.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gi-docgen",
"binary_version": "2022.1+ds-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gi-docgen",
"purl": "pkg:deb/ubuntu/gi-docgen?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2023.1+ds-3",
"2023.1+ds-4",
"2023.1+ds-5",
"2023.3+ds-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11687.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gi-docgen",
"binary_version": "2023.3+ds-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gi-docgen",
"purl": "pkg:deb/ubuntu/gi-docgen?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2025.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11687.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gi-docgen",
"binary_version": "2025.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gi-docgen",
"purl": "pkg:deb/ubuntu/gi-docgen?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2026.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11687.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gi-docgen",
"binary_version": "2026.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gi-docgen",
"purl": "pkg:deb/ubuntu/gi-docgen?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2025.3-1",
"2025.5-1",
"2026.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11687.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gi-docgen",
"binary_version": "2026.1-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:47.944314375Z",
"provider": "osv",
"upstream": [
"CVE-2025-11687"
],
"references": [
"https://ubuntu.com/security/CVE-2025-11687",
"https://www.cve.org/CVERecord?id=CVE-2025-11687",
"https://gitlab.gnome.org/GNOME/gi-docgen/-/issues/228",
"https://gitlab.gnome.org/GNOME/gi-docgen/-/merge_requests/254"
]
},
"related_cves": [
{
"value": "CVE-2025-11687",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356295,
"published_at": "2026-01-26T20:16:00+00:00"
}