Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57241?format=api",
    "purl": "pkg:composer/dolibarr/dolibarr@8.0.3",
    "type": "composer",
    "namespace": "dolibarr",
    "name": "dolibarr",
    "version": "8.0.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "8.0.4",
    "latest_non_vulnerable_version": "21.0.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40556?format=api",
            "vulnerability_id": "VCID-b65k-vs97-63fj",
            "summary": "Cross-site Scripting\nDolibarr is vulnerable to XSS in `/exports/export.php`.",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/150623/Dolibarr-ERP-CRM-8.0.3-Cross-Site-Scripting.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/150623/Dolibarr-ERP-CRM-8.0.3-Cross-Site-Scripting.html"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/45945/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/45945/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19799",
                    "reference_id": "CVE-2018-19799",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19799"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57242?format=api",
                    "purl": "pkg:composer/dolibarr/dolibarr@8.0.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.4"
                }
            ],
            "aliases": [
                "CVE-2018-19799"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b65k-vs97-63fj"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40579?format=api",
            "vulnerability_id": "VCID-6rj5-d1pz-6qh5",
            "summary": "SQL Injection\nSQL injection vulnerability in `user/card.php` in Dolibarr allows remote authenticated users to execute arbitrary SQL commands via the `employee` parameter.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19998",
                    "reference_id": "CVE-2018-19998",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19998"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57241?format=api",
                    "purl": "pkg:composer/dolibarr/dolibarr@8.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-b65k-vs97-63fj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.3"
                }
            ],
            "aliases": [
                "CVE-2018-19998"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6rj5-d1pz-6qh5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40577?format=api",
            "vulnerability_id": "VCID-8swk-1b4a-qfbv",
            "summary": "Cross-site Scripting\nA stored cross-site scripting (XSS) vulnerability in Dolibarr allows remote authenticated users to inject arbitrary web script or HTML via the `address` (POST) or `town` (POST) parameter to `user/card.php.`",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19995",
                    "reference_id": "CVE-2018-19995",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19995"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57241?format=api",
                    "purl": "pkg:composer/dolibarr/dolibarr@8.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-b65k-vs97-63fj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.3"
                }
            ],
            "aliases": [
                "CVE-2018-19995"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8swk-1b4a-qfbv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40574?format=api",
            "vulnerability_id": "VCID-bx4t-2q5j-nqbv",
            "summary": "SQL Injection\nAn error-based SQL injection vulnerability in `product/card.php` in Dolibarr allows remote authenticated users to execute arbitrary SQL commands via the `desiredstock` parameter.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19994",
                    "reference_id": "CVE-2018-19994",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19994"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57241?format=api",
                    "purl": "pkg:composer/dolibarr/dolibarr@8.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-b65k-vs97-63fj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.3"
                }
            ],
            "aliases": [
                "CVE-2018-19994"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bx4t-2q5j-nqbv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40575?format=api",
            "vulnerability_id": "VCID-cdnf-u17e-8ugy",
            "summary": "Cross-site Scripting\nA stored cross-site scripting (XSS) vulnerability in Dolibarr allows remote authenticated users to inject arbitrary web script or HTML via the `address` (POST) or `town` (POST) parameter to `adherents/type.php.`",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19992",
                    "reference_id": "CVE-2018-19992",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19992"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57241?format=api",
                    "purl": "pkg:composer/dolibarr/dolibarr@8.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-b65k-vs97-63fj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.3"
                }
            ],
            "aliases": [
                "CVE-2018-19992"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cdnf-u17e-8ugy"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40578?format=api",
            "vulnerability_id": "VCID-mbe1-vg4c-2ygg",
            "summary": "Cross-site Scripting\nA reflected cross-site scripting (XSS) vulnerability in Dolibarr allows remote attackers to inject arbitrary web script or HTML via the transphrase parameter to `public/notice.php.`",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19993",
                    "reference_id": "CVE-2018-19993",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19993"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57241?format=api",
                    "purl": "pkg:composer/dolibarr/dolibarr@8.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-b65k-vs97-63fj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.3"
                }
            ],
            "aliases": [
                "CVE-2018-19993"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mbe1-vg4c-2ygg"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@8.0.3"
}