{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/55336?format=json","vulnerability_id":"VCID-3cq8-yags-k7cr","summary":"ghtml Cross-Site Scripting (XSS) vulnerability\nIt is possible to introduce user-controlled JavaScript code and trigger a Cross-Site Scripting (XSS) vulnerability in some cases.","aliases":[{"alias":"CVE-2024-37166"},{"alias":"GHSA-vvhj-v88f-5gxr"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/81809?format=json","purl":"pkg:npm/ghtml@2.0.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@2.0.0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/743756?format=json","purl":"pkg:npm/ghtml@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/743757?format=json","purl":"pkg:npm/ghtml@1.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/743758?format=json","purl":"pkg:npm/ghtml@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/743759?format=json","purl":"pkg:npm/ghtml@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/743760?format=json","purl":"pkg:npm/ghtml@1.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/743761?format=json","purl":"pkg:npm/ghtml@1.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/743762?format=json","purl":"pkg:npm/ghtml@1.2.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.2.3"},{"url":"http://public2.vulnerablecode.io/api/packages/743763?format=json","purl":"pkg:npm/ghtml@1.2.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.2.4"},{"url":"http://public2.vulnerablecode.io/api/packages/743764?format=json","purl":"pkg:npm/ghtml@1.2.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.2.5"},{"url":"http://public2.vulnerablecode.io/api/packages/743765?format=json","purl":"pkg:npm/ghtml@1.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/743766?format=json","purl":"pkg:npm/ghtml@1.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/743767?format=json","purl":"pkg:npm/ghtml@1.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/743768?format=json","purl":"pkg:npm/ghtml@1.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/743769?format=json","purl":"pkg:npm/ghtml@1.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/743770?format=json","purl":"pkg:npm/ghtml@1.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3cq8-yags-k7cr"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/ghtml@1.7.1"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37166","reference_id":"","reference_type":"","scores":[{"value":"0.00213","scoring_system":"epss","scoring_elements":"0.43885","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00213","scoring_system":"epss","scoring_elements":"0.43835","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00213","scoring_system":"epss","scoring_elements":"0.43825","published_at":"2026-06-08T12:55:00Z"},{"value":"0.00213","scoring_system":"epss","scoring_elements":"0.4386","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00213","scoring_system":"epss","scoring_elements":"0.43876","published_at":"2026-06-05T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37166"},{"reference_url":"https://github.com/gurgunday/ghtml","reference_id":"","reference_type":"","scores":[{"value":"8.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/gurgunday/ghtml"},{"reference_url":"https://github.com/gurgunday/ghtml/commit/df1ea50fe8968a766fd2b9379a8f9806375227f8","reference_id":"","reference_type":"","scores":[{"value":"8.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-06-11T13:48:07Z/"}],"url":"https://github.com/gurgunday/ghtml/commit/df1ea50fe8968a766fd2b9379a8f9806375227f8"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37166","reference_id":"CVE-2024-37166","reference_type":"","scores":[{"value":"8.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37166"},{"reference_url":"https://github.com/advisories/GHSA-vvhj-v88f-5gxr","reference_id":"GHSA-vvhj-v88f-5gxr","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-vvhj-v88f-5gxr"},{"reference_url":"https://github.com/gurgunday/ghtml/security/advisories/GHSA-vvhj-v88f-5gxr","reference_id":"GHSA-vvhj-v88f-5gxr","reference_type":"","scores":[{"value":"8.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-06-11T13:48:07Z/"}],"url":"https://github.com/gurgunday/ghtml/security/advisories/GHSA-vvhj-v88f-5gxr"}],"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":80,"name":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages."},{"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":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-3cq8-yags-k7cr"}