Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/327591?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/327591?format=api",
    "vulnerability_id": "VCID-vn3n-jmc8-57h3",
    "summary": "In DOMPurify through 3.2.5 before 6bc6d60, scripts/server.js does not ensure that a pathname is located under the current working directory. NOTE: the Supplier disputes the significance of this report because the \"Uncontrolled data used in path expression\" occurs \"in a development helper script which starts a local web server if needed and must be manually started.\"",
    "aliases": [
        {
            "alias": "CVE-2025-48050"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932187?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.3.2%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.3.2%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1067261?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.3.3%2Bdfsg-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-68r6-dfzr-jyhh"
                },
                {
                    "vulnerability": "VCID-8y7q-v1h7-b7hd"
                },
                {
                    "vulnerability": "VCID-t7hs-8fpg-jqdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.3.3%252Bdfsg-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1062505?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.3.3%2Bdfsg-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-68r6-dfzr-jyhh"
                },
                {
                    "vulnerability": "VCID-8y7q-v1h7-b7hd"
                },
                {
                    "vulnerability": "VCID-t7hs-8fpg-jqdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.3.3%252Bdfsg-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077458?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.4.1%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.4.1%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077822?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.4.1%2Bdfsg-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.4.1%252Bdfsg-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932180?format=api",
            "purl": "pkg:deb/debian/node-dompurify@2.4.1%2Bdfsg%2B~2.4.0-2%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-68r6-dfzr-jyhh"
                },
                {
                    "vulnerability": "VCID-8y7q-v1h7-b7hd"
                },
                {
                    "vulnerability": "VCID-mv6v-re2k-g3gn"
                },
                {
                    "vulnerability": "VCID-ps3s-bymy-dkbc"
                },
                {
                    "vulnerability": "VCID-t7hs-8fpg-jqdw"
                },
                {
                    "vulnerability": "VCID-vn3n-jmc8-57h3"
                },
                {
                    "vulnerability": "VCID-vzq7-t235-ukd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@2.4.1%252Bdfsg%252B~2.4.0-2%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055430?format=api",
            "purl": "pkg:deb/debian/node-dompurify@2.4.1%2Bdfsg%2B~2.4.0-2%2Bdeb12u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-68r6-dfzr-jyhh"
                },
                {
                    "vulnerability": "VCID-8y7q-v1h7-b7hd"
                },
                {
                    "vulnerability": "VCID-mv6v-re2k-g3gn"
                },
                {
                    "vulnerability": "VCID-ps3s-bymy-dkbc"
                },
                {
                    "vulnerability": "VCID-t7hs-8fpg-jqdw"
                },
                {
                    "vulnerability": "VCID-vn3n-jmc8-57h3"
                },
                {
                    "vulnerability": "VCID-vzq7-t235-ukd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@2.4.1%252Bdfsg%252B~2.4.0-2%252Bdeb12u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932183?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.1.7%2Bdfsg%2B~3.0.5-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-68r6-dfzr-jyhh"
                },
                {
                    "vulnerability": "VCID-8y7q-v1h7-b7hd"
                },
                {
                    "vulnerability": "VCID-mv6v-re2k-g3gn"
                },
                {
                    "vulnerability": "VCID-ps3s-bymy-dkbc"
                },
                {
                    "vulnerability": "VCID-t7hs-8fpg-jqdw"
                },
                {
                    "vulnerability": "VCID-vn3n-jmc8-57h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.1.7%252Bdfsg%252B~3.0.5-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055431?format=api",
            "purl": "pkg:deb/debian/node-dompurify@3.1.7%2Bdfsg%2B~3.0.5-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-68r6-dfzr-jyhh"
                },
                {
                    "vulnerability": "VCID-8y7q-v1h7-b7hd"
                },
                {
                    "vulnerability": "VCID-mv6v-re2k-g3gn"
                },
                {
                    "vulnerability": "VCID-ps3s-bymy-dkbc"
                },
                {
                    "vulnerability": "VCID-t7hs-8fpg-jqdw"
                },
                {
                    "vulnerability": "VCID-vn3n-jmc8-57h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-dompurify@3.1.7%252Bdfsg%252B~3.0.5-2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-48050",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6022",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60229",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60212",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60251",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60258",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60246",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60216",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60232",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60163",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60188",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60157",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60207",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60221",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00392",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60243",
                    "published_at": "2026-04-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-48050"
        },
        {
            "reference_url": "https://github.com/cure53/DOMPurify/pull/1101",
            "reference_id": "1101",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-15T19:14:45Z/"
                }
            ],
            "url": "https://github.com/cure53/DOMPurify/pull/1101"
        },
        {
            "reference_url": "https://github.com/cure53/DOMPurify/commit/6bc6d60e49256f27a4022181b7d8a5b0721fd534",
            "reference_id": "6bc6d60e49256f27a4022181b7d8a5b0721fd534",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-15T19:14:45Z/"
                }
            ],
            "url": "https://github.com/cure53/DOMPurify/commit/6bc6d60e49256f27a4022181b7d8a5b0721fd534"
        },
        {
            "reference_url": "https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-10176060",
            "reference_id": "SNYK-JS-DOMPURIFY-10176060",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-15T19:14:45Z/"
                }
            ],
            "url": "https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-10176060"
        },
        {
            "reference_url": "https://github.com/odaysec/advisory/blob/main/cure53/DOMPurify/writeup.md",
            "reference_id": "writeup.md",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-15T19:14:45Z/"
                }
            ],
            "url": "https://github.com/odaysec/advisory/blob/main/cure53/DOMPurify/writeup.md"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 24,
            "name": "Path Traversal: '../filedir'",
            "description": "The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize ../ sequences that can resolve to a location that is outside of that directory."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "6.8",
    "risk_score": 3.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vn3n-jmc8-57h3"
}