Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/74252?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/74252?format=api", "purl": "pkg:composer/craftcms/cms@4.5.0-beta.1", "type": "composer", "namespace": "craftcms", "name": "cms", "version": "4.5.0-beta.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "4.5.11", "latest_non_vulnerable_version": "5.9.9", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50362?format=api", "vulnerability_id": "VCID-5q5g-jrxm-eyhe", "summary": "Craft CMS has Stored XSS in Table Field in its \"Row Heading\" Column Type\nA stored Cross-site Scripting (XSS) vulnerability exists in the `editableTable.twig` component when using the `Row Heading` column type. The application fails to sanitize input within row headings, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field.", "references": [ { "reference_url": "https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production", "reference_id": "", "reference_type": "", "scores": [], "url": "https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production" }, { "reference_url": "https://github.com/craftcms/cms", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms" }, { "reference_url": "https://github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a" }, { "reference_url": "https://github.com/craftcms/cms/releases/tag/4.16.19", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/releases/tag/4.16.19" }, { "reference_url": "https://github.com/craftcms/cms/releases/tag/5.8.23", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/releases/tag/5.8.23" }, { "reference_url": "https://github.com/advisories/GHSA-6j87-m5qx-9fqp", "reference_id": "GHSA-6j87-m5qx-9fqp", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-6j87-m5qx-9fqp" }, { "reference_url": "https://github.com/craftcms/cms/security/advisories/GHSA-6j87-m5qx-9fqp", "reference_id": "GHSA-6j87-m5qx-9fqp", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/security/advisories/GHSA-6j87-m5qx-9fqp" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/74189?format=api", "purl": "pkg:composer/craftcms/cms@4.16.19", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.16.19" }, { "url": "http://public2.vulnerablecode.io/api/packages/74188?format=api", "purl": "pkg:composer/craftcms/cms@5.8.23", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.8.23" } ], "aliases": [ "GHSA-6j87-m5qx-9fqp" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5q5g-jrxm-eyhe" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.5.0-beta.1" }