Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55546?format=api",
    "vulnerability_id": "VCID-m8wg-f36t-pygt",
    "summary": "Calibre-Web Cross Site Scripting (XSS)\nIn janeczku Calibre-Web 0.6.0 to 0.6.21, the edit_book_comments function is vulnerable to Cross Site Scripting (XSS) due to improper sanitization performed by the clean_string function. The vulnerability arises from the way the clean_string function handles HTML sanitization.",
    "aliases": [
        {
            "alias": "CVE-2024-39123"
        },
        {
            "alias": "GHSA-j22r-3rf3-cv25"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/752005?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.22",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.22"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82217?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26568?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.12",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-6z85-9d5x-nyaq"
                },
                {
                    "vulnerability": "VCID-9jsz-tc58-2ud8"
                },
                {
                    "vulnerability": "VCID-am1q-9mhn-c7fr"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-c5yg-2q1m-qkf6"
                },
                {
                    "vulnerability": "VCID-g6g1-rcqv-wkdj"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-hsbf-rfcu-qyaq"
                },
                {
                    "vulnerability": "VCID-jcpd-2fkh-mkc1"
                },
                {
                    "vulnerability": "VCID-kekh-f74c-m7bt"
                },
                {
                    "vulnerability": "VCID-kswt-bt4h-nbdf"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-mayx-3wtu-nkbp"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                },
                {
                    "vulnerability": "VCID-xmnj-teby-fygk"
                },
                {
                    "vulnerability": "VCID-y3wa-7wgk-3khp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26569?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.13",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-6z85-9d5x-nyaq"
                },
                {
                    "vulnerability": "VCID-9jsz-tc58-2ud8"
                },
                {
                    "vulnerability": "VCID-am1q-9mhn-c7fr"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-c5yg-2q1m-qkf6"
                },
                {
                    "vulnerability": "VCID-g6g1-rcqv-wkdj"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-hsbf-rfcu-qyaq"
                },
                {
                    "vulnerability": "VCID-jcpd-2fkh-mkc1"
                },
                {
                    "vulnerability": "VCID-kekh-f74c-m7bt"
                },
                {
                    "vulnerability": "VCID-kswt-bt4h-nbdf"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-mayx-3wtu-nkbp"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                },
                {
                    "vulnerability": "VCID-xmnj-teby-fygk"
                },
                {
                    "vulnerability": "VCID-y3wa-7wgk-3khp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26570?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.14",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-6z85-9d5x-nyaq"
                },
                {
                    "vulnerability": "VCID-9jsz-tc58-2ud8"
                },
                {
                    "vulnerability": "VCID-am1q-9mhn-c7fr"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-c5yg-2q1m-qkf6"
                },
                {
                    "vulnerability": "VCID-g6g1-rcqv-wkdj"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-hsbf-rfcu-qyaq"
                },
                {
                    "vulnerability": "VCID-jcpd-2fkh-mkc1"
                },
                {
                    "vulnerability": "VCID-kekh-f74c-m7bt"
                },
                {
                    "vulnerability": "VCID-kswt-bt4h-nbdf"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-mayx-3wtu-nkbp"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                },
                {
                    "vulnerability": "VCID-xmnj-teby-fygk"
                },
                {
                    "vulnerability": "VCID-y3wa-7wgk-3khp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26571?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-6z85-9d5x-nyaq"
                },
                {
                    "vulnerability": "VCID-9jsz-tc58-2ud8"
                },
                {
                    "vulnerability": "VCID-am1q-9mhn-c7fr"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-g6g1-rcqv-wkdj"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-jcpd-2fkh-mkc1"
                },
                {
                    "vulnerability": "VCID-kekh-f74c-m7bt"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26572?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.16",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-g6g1-rcqv-wkdj"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-jcpd-2fkh-mkc1"
                },
                {
                    "vulnerability": "VCID-kekh-f74c-m7bt"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.16"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60912?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.17",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-jcpd-2fkh-mkc1"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/153106?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/646271?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.19",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-bkzx-fvcv-t3g8"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                },
                {
                    "vulnerability": "VCID-s28v-vbvy-3bgb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.19"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64720?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.20",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.20"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82218?format=api",
            "purl": "pkg:pypi/calibreweb@0.6.21",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xd2-y3tq-ckh8"
                },
                {
                    "vulnerability": "VCID-gb1g-yf4f-tygr"
                },
                {
                    "vulnerability": "VCID-gwc3-dztv-37dw"
                },
                {
                    "vulnerability": "VCID-m8wg-f36t-pygt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/calibreweb@0.6.21"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-39123",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.16445",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95016",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.16445",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95014",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.16445",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95013",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-39123"
        },
        {
            "reference_url": "https://github.com/janeczku/calibre-web",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/janeczku/calibre-web"
        },
        {
            "reference_url": "https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123",
            "reference_id": "CVE-2024-39123",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-23T15:47:04Z/"
                }
            ],
            "url": "https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39123",
            "reference_id": "CVE-2024-39123",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39123"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-j22r-3rf3-cv25",
            "reference_id": "GHSA-j22r-3rf3-cv25",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-j22r-3rf3-cv25"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m8wg-f36t-pygt"
}