Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/22037?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/22037?format=api", "vulnerability_id": "VCID-f3yg-vbeb-9qgr", "summary": "NiceGUI apps which use `ui.sub_pages` vulnerable to zero-click XSS\nAn unsafe implementation in the `pushstate` event listener used by `ui.sub_pages` allows an attacker to manipulate the fragment identifier of the URL, which _they can do despite being cross-site, using an iframe_.", "aliases": [ { "alias": "CVE-2026-21873" }, { "alias": "GHSA-mhpg-c27v-6mxr" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/46426?format=api", "purl": "pkg:pypi/nicegui@3.5.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-gk7h-2cu9-2uhm" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nicegui@3.5.0" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/46404?format=api", "purl": "pkg:pypi/nicegui@2.22.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-f3yg-vbeb-9qgr" }, { "vulnerability": "VCID-gk7h-2cu9-2uhm" }, { "vulnerability": "VCID-xv1m-pvjj-mfhn" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nicegui@2.22.0" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-21873", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0002", "scoring_system": "epss", "scoring_elements": "0.06069", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-21873" }, { "reference_url": "https://github.com/zauberzeug/nicegui", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/zauberzeug/nicegui" }, { "reference_url": "https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21873", "reference_id": "CVE-2026-21873", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21873" }, { "reference_url": "https://github.com/advisories/GHSA-mhpg-c27v-6mxr", "reference_id": "GHSA-mhpg-c27v-6mxr", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-mhpg-c27v-6mxr" }, { "reference_url": "https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mhpg-c27v-6mxr", "reference_id": "GHSA-mhpg-c27v-6mxr", "reference_type": "", "scores": [], "url": "https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mhpg-c27v-6mxr" } ], "weaknesses": [ { "cwe_id": 79, "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f3yg-vbeb-9qgr" }