Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/1003886?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/1003886?format=api", "purl": "pkg:npm/%40payloadcms/next@3.64.0-internal.9a6b44a", "type": "npm", "namespace": "@payloadcms", "name": "next", "version": "3.64.0-internal.9a6b44a", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.78.0", "latest_non_vulnerable_version": "3.78.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/90086?format=api", "vulnerability_id": "VCID-59p4-ezpr-vugc", "summary": "@payloadcms/next has Stored XSS in Admin Panel\n### Impact\n\nA stored Cross-site Scripting (XSS) vulnerability existed in the admin panel. An authenticated user with write access to a collection could save content that, when viewed by another user, would execute in their browser.\n\nConsumers are affected if ALL of these are true:\n\n- Payload version **< v3.78.0**\n- At least one collection with versions enabled\n- An authenticated user has `create` or `update` access to that collection\n\n### Patches\n\nThis vulnerability has been patched in **v3.78.0**. Output encoding has been added to prevent user-supplied content from being interpreted as markup.\n\nUsers should upgrade to **v3.78.0** or later.\n\n### Workarounds\n\nIf consumers cannot upgrade immediately:\n\n- Restrict `create` and `update` access to versioned collections to trusted roles only.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-34748", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00014", "scoring_system": "epss", "scoring_elements": "0.02677", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.00014", "scoring_system": "epss", "scoring_elements": "0.0263", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00014", "scoring_system": "epss", "scoring_elements": "0.02684", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00016", "scoring_system": "epss", "scoring_elements": "0.0383", "published_at": "2026-06-08T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-34748" }, { "reference_url": "https://github.com/payloadcms/payload", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.7", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/payloadcms/payload" }, { "reference_url": "https://github.com/payloadcms/payload/security/advisories/GHSA-mmxc-95ch-2j7c", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.7", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N" }, { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/payloadcms/payload/security/advisories/GHSA-mmxc-95ch-2j7c" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34748", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.7", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34748" }, { "reference_url": "https://github.com/advisories/GHSA-mmxc-95ch-2j7c", "reference_id": "GHSA-mmxc-95ch-2j7c", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-mmxc-95ch-2j7c" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/111324?format=api", "purl": "pkg:npm/%40payloadcms/next@3.78.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540payloadcms/next@3.78.0" } ], "aliases": [ "CVE-2026-34748", "GHSA-mmxc-95ch-2j7c" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-59p4-ezpr-vugc" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540payloadcms/next@3.64.0-internal.9a6b44a" }