Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/928211?format=api",
    "purl": "pkg:deb/debian/libphp-phpmailer@1.73-4?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "libphp-phpmailer",
    "version": "1.73-4",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.2.14+dfsg-1",
    "latest_non_vulnerable_version": "6.9.3-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15406?format=api",
            "vulnerability_id": "VCID-k96h-dr15-ufhv",
            "summary": "PHPMailer Shell command injection\nPHPMailer before 1.7.4, when configured to use sendmail, allows remote attackers to execute arbitrary shell commands via shell metacharacters in the SendmailSend function in `class.phpmailer.php`.\n\n### Impact\nShell command injection, remotely exploitable if host application does not filter user data appropriately.\n\n### Patches\nFixed in 1.7.4\n\n### Workarounds\nFilter and validate user-supplied data before putting in the into the `Sender` property.\n\n### References\nhttps://nvd.nist.gov/vuln/detail/CVE-2007-3215\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)",
            "references": [
                {
                    "reference_url": "http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/"
                },
                {
                    "reference_url": "http://osvdb.org/37206",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://osvdb.org/37206"
                },
                {
                    "reference_url": "http://osvdb.org/76139",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://osvdb.org/76139"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-3215",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89044",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88981",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88999",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89004",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89016",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89011",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89009",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89023",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89021",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89017",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89034",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89042",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88954",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88962",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88978",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-3215"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3215",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3215"
                },
                {
                    "reference_url": "https://cxsecurity.com/issue/WLB-2007060063",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://cxsecurity.com/issue/WLB-2007060063"
                },
                {
                    "reference_url": "http://seclists.org/fulldisclosure/2011/Oct/223",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/fulldisclosure/2011/Oct/223"
                },
                {
                    "reference_url": "http://secunia.com/advisories/25626",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/25626"
                },
                {
                    "reference_url": "http://secunia.com/advisories/25755",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/25755"
                },
                {
                    "reference_url": "http://secunia.com/advisories/25758",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/25758"
                },
                {
                    "reference_url": "http://securityreason.com/securityalert/2802",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://securityreason.com/securityalert/2802"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/34818",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/34818"
                },
                {
                    "reference_url": "https://github.com/PHPMailer/PHPMailer",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PHPMailer/PHPMailer"
                },
                {
                    "reference_url": "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-6h78-85v2-mmch",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-6h78-85v2-mmch"
                },
                {
                    "reference_url": "http://sourceforge.net/project/shownotes.php?release_id=517428&group_id=157374",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://sourceforge.net/project/shownotes.php?release_id=517428&group_id=157374"
                },
                {
                    "reference_url": "https://seclists.org/fulldisclosure/2011/Oct/223",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://seclists.org/fulldisclosure/2011/Oct/223"
                },
                {
                    "reference_url": "https://sourceforge.net/p/phpmailer/bugs/192",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://sourceforge.net/p/phpmailer/bugs/192"
                },
                {
                    "reference_url": "https://sourceforge.net/p/phpmailer/bugs/192/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://sourceforge.net/p/phpmailer/bugs/192/"
                },
                {
                    "reference_url": "https://sourceforge.net/tracker/index.php?func=detail&aid=1734811&group_id=26031&atid=385707",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://sourceforge.net/tracker/index.php?func=detail&aid=1734811&group_id=26031&atid=385707"
                },
                {
                    "reference_url": "https://web.archive.org/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution"
                },
                {
                    "reference_url": "https://web.archive.org/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/"
                },
                {
                    "reference_url": "https://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce"
                },
                {
                    "reference_url": "http://www.debian.org/security/2007/dsa-1315",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2007/dsa-1315"
                },
                {
                    "reference_url": "http://www.securityfocus.com/archive/1/471065/100/0/threaded",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/archive/1/471065/100/0/threaded"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/24417",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/24417"
                },
                {
                    "reference_url": "http://www.vupen.com/english/advisories/2007/2161",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.vupen.com/english/advisories/2007/2161"
                },
                {
                    "reference_url": "http://www.vupen.com/english/advisories/2007/2267",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.vupen.com/english/advisories/2007/2267"
                },
                {
                    "reference_url": "http://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429179",
                    "reference_id": "429179",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429179"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429194",
                    "reference_id": "429194",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429194"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:phpmailer:phpmailer:1.7:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7.1:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:phpmailer:phpmailer:1.7.1:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7.1:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7.2:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:phpmailer:phpmailer:1.7.2:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7.2:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7.3:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:phpmailer:phpmailer:1.7.3:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.7.3:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.73:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:phpmailer:phpmailer:1.73:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer:phpmailer:1.73:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3215",
                    "reference_id": "CVE-2007-3215",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3215"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6h78-85v2-mmch",
                    "reference_id": "GHSA-6h78-85v2-mmch",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-6h78-85v2-mmch"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/791-1/",
                    "reference_id": "USN-791-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/791-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/928211?format=api",
                    "purl": "pkg:deb/debian/libphp-phpmailer@1.73-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@1.73-4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/928209?format=api",
                    "purl": "pkg:deb/debian/libphp-phpmailer@6.2.0-2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-jca1-hyks-kud3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.2.0-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/928207?format=api",
                    "purl": "pkg:deb/debian/libphp-phpmailer@6.6.3-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.6.3-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/928210?format=api",
                    "purl": "pkg:deb/debian/libphp-phpmailer@6.9.3-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.9.3-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2007-3215",
                "GHSA-6h78-85v2-mmch"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k96h-dr15-ufhv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@1.73-4%3Fdistro=trixie"
}