Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/616622?format=api",
    "purl": "pkg:maven/org.apache.sling/org.apache.sling.i18n@2.4.8",
    "type": "maven",
    "namespace": "org.apache.sling",
    "name": "org.apache.sling.i18n",
    "version": "2.4.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.6.2",
    "latest_non_vulnerable_version": "2.6.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/129097?format=api",
            "vulnerability_id": "VCID-unun-7535-7yd4",
            "summary": "Privilege Escalation vulnerability in Apache Software Foundation Apache Sling.\nAny content author is able to create i18n dictionaries in the repository in a location the author has write access to. As these translations are used across the whole product, it allows an author to change any text or dialog in the product. For example an attacker might fool someone by changing the text on a delete button to \"Info\".\nThis issue affects the i18n module of Apache Sling up to version 2.5.18. Version 2.6.2 and higher limit by default i18m dictionaries to certain paths in the repository (/libs and /apps).\n\nUsers of the module are advised to update to version 2.6.2 or higher, check the configuration for resource loading and then adjust the access permissions for the configured path accordingly.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-25621",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7573",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75725",
                            "published_at": "2026-06-14T12:55:00Z"
                        },
                        {
                            "value": "0.00871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75646",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75716",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-25621"
                },
                {
                    "reference_url": "https://github.com/apache/sling-org-apache-sling-i18n/pull/9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/sling-org-apache-sling-i18n/pull/9"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/SLING-11744",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://issues.apache.org/jira/browse/SLING-11744"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-25621",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-25621"
                },
                {
                    "reference_url": "https://seclists.org/oss-sec/2023/q1/112",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://seclists.org/oss-sec/2023/q1/112"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mrpv-5pmr-p92h",
                    "reference_id": "GHSA-mrpv-5pmr-p92h",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-mrpv-5pmr-p92h"
                },
                {
                    "reference_url": "https://sling.apache.org/news.html",
                    "reference_id": "news.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-18T15:00:24Z/"
                        }
                    ],
                    "url": "https://sling.apache.org/news.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/380481?format=api",
                    "purl": "pkg:maven/org.apache.sling/org.apache.sling.i18n@2.6.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.sling/org.apache.sling.i18n@2.6.2"
                }
            ],
            "aliases": [
                "CVE-2023-25621",
                "GHSA-mrpv-5pmr-p92h"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-unun-7535-7yd4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.sling/org.apache.sling.i18n@2.4.8"
}