Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/30568?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30568?format=api", "vulnerability_id": "VCID-m8wu-u1mt-cfdp", "summary": "html-janitor bypassing sanitization using DOM clobbering\nArbitrary HTML can pass the sanitization process, which can be unexpected and dangerous (XSS) in case user-controlled input is passed to the clean function.", "aliases": [ { "alias": "CVE-2017-0928" }, { "alias": "GHSA-fx46-whrj-73v5" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55553?format=api", "purl": "pkg:npm/html-janitor@2.0.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@2.0.4" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54614?format=api", "purl": "pkg:npm/html-janitor@0.2.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@0.2.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/213844?format=api", "purl": "pkg:npm/html-janitor@0.3.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@0.3.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/213845?format=api", "purl": "pkg:npm/html-janitor@0.3.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@0.3.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/213846?format=api", "purl": "pkg:npm/html-janitor@1.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@1.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/213847?format=api", "purl": "pkg:npm/html-janitor@1.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@1.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/213848?format=api", "purl": "pkg:npm/html-janitor@1.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@1.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/213849?format=api", "purl": "pkg:npm/html-janitor@2.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@2.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/213850?format=api", "purl": "pkg:npm/html-janitor@2.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@2.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/6620?format=api", "purl": "pkg:npm/html-janitor@2.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-81f7-93qc-gqbf" }, { "vulnerability": "VCID-hqpc-pjzk-qubh" }, { "vulnerability": "VCID-m8wu-u1mt-cfdp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/html-janitor@2.0.2" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-0928", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00185", "scoring_system": "epss", "scoring_elements": "0.40209", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00185", "scoring_system": "epss", "scoring_elements": "0.40206", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.00185", "scoring_system": "epss", "scoring_elements": "0.40124", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-0928" }, { "reference_url": "https://github.com/advisories/GHSA-fx46-whrj-73v5", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-fx46-whrj-73v5" }, { "reference_url": "https://github.com/guardian/html-janitor/issues/35", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/guardian/html-janitor/issues/35" }, { "reference_url": "https://hackerone.com/reports/308158", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://hackerone.com/reports/308158" }, { "reference_url": "https://www.npmjs.com/advisories/569", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/569" }, { "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/365.json", "reference_id": "365", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/365.json" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0928", "reference_id": "CVE-2017-0928", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0928" } ], "weaknesses": [ { "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." }, { "cwe_id": 642, "name": "External Control of Critical State Data", "description": "The product stores security-critical state information about its users, or the product itself, in a location that is accessible to unauthorized actors." }, { "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": 547, "name": "Use of Hard-coded, Security-relevant Constants", "description": "The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change." } ], "exploits": [], "severity_range_score": "4.0 - 8.8", "exploitability": "0.5", "weighted_severity": "7.9", "risk_score": 4.0, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m8wu-u1mt-cfdp" }