Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35668?format=api",
    "vulnerability_id": "VCID-4nyk-dyzz-yfeu",
    "summary": "A stored cross-site scripting (XSS) vulnerability affects the Web UI in Locust before 1.3.2, if the installation violates the usage expectations by exposing this UI to outside users.",
    "aliases": [
        {
            "alias": "CVE-2020-28364"
        },
        {
            "alias": "GHSA-vqxw-9pg7-v7v9"
        },
        {
            "alias": "PYSEC-2020-60"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18961?format=api",
            "purl": "pkg:pypi/locust@1.3.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.3.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18949?format=api",
            "purl": "pkg:pypi/locust@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18950?format=api",
            "purl": "pkg:pypi/locust@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18951?format=api",
            "purl": "pkg:pypi/locust@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18952?format=api",
            "purl": "pkg:pypi/locust@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18953?format=api",
            "purl": "pkg:pypi/locust@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18954?format=api",
            "purl": "pkg:pypi/locust@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18955?format=api",
            "purl": "pkg:pypi/locust@1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18956?format=api",
            "purl": "pkg:pypi/locust@1.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18957?format=api",
            "purl": "pkg:pypi/locust@1.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18958?format=api",
            "purl": "pkg:pypi/locust@1.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18959?format=api",
            "purl": "pkg:pypi/locust@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18960?format=api",
            "purl": "pkg:pypi/locust@1.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4nyk-dyzz-yfeu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/locust@1.3.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-28364",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00359",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5838",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-28364"
        },
        {
            "reference_url": "https://docs.locust.io/en/stable/changelog.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://docs.locust.io/en/stable/changelog.html"
        },
        {
            "reference_url": "https://github.com/locustio/locust",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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/locustio/locust"
        },
        {
            "reference_url": "https://github.com/locustio/locust/commit/0d118179709b4a60174810bae4db41d40e4c99ad",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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/locustio/locust/commit/0d118179709b4a60174810bae4db41d40e4c99ad"
        },
        {
            "reference_url": "https://github.com/locustio/locust/commit/4049173b3466da236b1d8d8d3519e73c01525a0d",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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/locustio/locust/commit/4049173b3466da236b1d8d8d3519e73c01525a0d"
        },
        {
            "reference_url": "https://github.com/locustio/locust/pull/1603",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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/locustio/locust/pull/1603"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/locust/PYSEC-2020-60.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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/pypa/advisory-database/tree/main/vulns/locust/PYSEC-2020-60.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-28364",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-2020-28364"
        }
    ],
    "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."
        }
    ],
    "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-4nyk-dyzz-yfeu"
}