{"answers":{"affected":"3 open source packages ship an affected version, including gi-docgen.","exploited":"There is no known exploitation of CVE-2025-11687 in the wild and no public exploit code.","fix":"Upgrade gi-docgen to 2025.5 or later.","what":"CVE-2025-11687 is a medium-severity cross-site scripting vulnerability in gi-docgen, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-11687 and fix it if it is affected.\n\nWhat it is: CVE-2025-11687 is a medium-severity cross-site scripting vulnerability in gi-docgen, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-11687 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gi-docgen (PyPI): affected all versions; fixed in 2025.5\n- gi-docgen (PyPI): affected all versions; fixed in 2025.5\n- gi-docgen (PyPI): affected all versions; fixed in 2025.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-11687/ (Markdown: https://insights.sbomify.com/CVE-2025-11687/index.md)","id":"CVE-2025-11687","markdown":"https://insights.sbomify.com/CVE-2025-11687/index.md","name":"CVE-2025-11687","record":{"aliases":["AZL-110336","DEBIAN-CVE-2025-11687","GHSA-6p6h-rqr6-62mv","MINI-87hw-qhcr-c3p2","OESA-2026-4316","OESA-2026-4317","OESA-2026-4318","OESA-2026-4319","PYSEC-2026-1402","SUSE-SU-2026:21159-1","UBUNTU-CVE-2025-11687","openSUSE-SU-2025:15634-1","openSUSE-SU-2026:11185-1","openSUSE-SU-2026:20497-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"gi-docgen documentation generator","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript via a crafted URL in gi-docgen, enabling session cookie theft and DOM access.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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).","ecosystems":["PyPI","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Gi-docgen: reflected dom xss in gi-docgen","id":"CVE-2025-11687","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":8,"n_references":3,"next":{"headline":"IDOR vulnerability in the CFMOTO RIDE API","id":"CVE-2025-11690"},"packages":[{"ecosystem":"PyPI","fixed":["2025.5"],"introduced":["0"],"last_affected":[],"package":"gi-docgen","purl":null,"source":"GHSA-6p6h-rqr6-62mv"},{"ecosystem":"PyPI","fixed":["2025.5"],"introduced":["0"],"last_affected":[],"package":"gi-docgen","purl":"pkg:pypi/gi-docgen","source":"GHSA-6p6h-rqr6-62mv"},{"ecosystem":"PyPI","fixed":["2025.5"],"introduced":["0"],"last_affected":[],"package":"gi-docgen","purl":"pkg:pypi/gi-docgen","source":"PYSEC-2026-1402"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["2025.5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-gi-docgen","purl":"pkg:rpm/suse/python-gi-docgen\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:21159-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["2025.5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-gi-docgen","purl":"pkg:rpm/suse/python-gi-docgen\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:21159-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["2025.5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"python-gi-docgen","purl":"pkg:rpm/opensuse/python-gi-docgen\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20497-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2026.1-1.1"],"introduced":["0"],"last_affected":[],"package":"gi-docgen","purl":"pkg:rpm/opensuse/gi-docgen\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11185-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2025.5-1.1"],"introduced":["0"],"last_affected":[],"package":"python-gi-docgen","purl":"pkg:rpm/opensuse/python-gi-docgen\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15634-1"}],"prev":{"headline":"Information disclosure in YAML::Syck","id":"CVE-2025-11683"},"products":[],"published":"2026-01-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-26","vendors":[]},"summary":"Attackers can execute arbitrary JavaScript via a crafted URL in gi-docgen, enabling session cookie theft and DOM access.","url":"https://insights.sbomify.com/CVE-2025-11687/"}