Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/53837?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53837?format=api", "vulnerability_id": "VCID-9h2z-u4vm-2kdk", "summary": "Django REST framework XSS Vulnerability\nDjango REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.", "aliases": [ { "alias": "CVE-2018-25045" }, { "alias": "GHSA-xqcf-hj92-967m" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/1038119?format=api", "purl": "pkg:deb/debian/djangorestframework@3.9.0-1%2Bdeb10u1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9h2z-u4vm-2kdk" }, { "vulnerability": "VCID-az5u-1a5w-9ffa" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.9.0-1%252Bdeb10u1" }, { "url": "http://public2.vulnerablecode.io/api/packages/586553?format=api", "purl": "pkg:deb/debian/djangorestframework@3.10.2-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.10.2-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/585028?format=api", "purl": "pkg:deb/debian/djangorestframework@3.12.1-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-exen-v4sg-mudc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.12.1-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/583570?format=api", "purl": "pkg:deb/debian/djangorestframework@3.12.1-1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-exen-v4sg-mudc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.12.1-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/583571?format=api", "purl": "pkg:deb/debian/djangorestframework@3.14.0-2%2Bdeb12u1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-exen-v4sg-mudc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.14.0-2%252Bdeb12u1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/583572?format=api", "purl": "pkg:deb/debian/djangorestframework@3.16.0-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.16.0-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/583573?format=api", "purl": "pkg:deb/debian/djangorestframework@3.16.1-3?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.16.1-3%3Fdistro=trixie" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/1038117?format=api", "purl": "pkg:deb/debian/djangorestframework@2.4.3-2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9h2z-u4vm-2kdk" }, { "vulnerability": "VCID-az5u-1a5w-9ffa" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@2.4.3-2" }, { "url": "http://public2.vulnerablecode.io/api/packages/1038118?format=api", "purl": "pkg:deb/debian/djangorestframework@3.4.0-2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9h2z-u4vm-2kdk" }, { "vulnerability": "VCID-az5u-1a5w-9ffa" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.4.0-2" }, { "url": "http://public2.vulnerablecode.io/api/packages/1038119?format=api", "purl": "pkg:deb/debian/djangorestframework@3.9.0-1%2Bdeb10u1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9h2z-u4vm-2kdk" }, { "vulnerability": "VCID-az5u-1a5w-9ffa" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/djangorestframework@3.9.0-1%252Bdeb10u1" }, { "url": "http://public2.vulnerablecode.io/api/packages/322570?format=api", "purl": "pkg:pypi/django-rest-framework@0.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9h2z-u4vm-2kdk" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-rest-framework@0.1.0" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-25045", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57092", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57135", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57157", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57134", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57185", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57187", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57199", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57178", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57158", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57186", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57183", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57162", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.00346", "scoring_system": "epss", "scoring_elements": "0.57041", "published_at": "2026-04-01T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-25045" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25045", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25045" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25626", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25626" }, { "reference_url": "https://github.com/encode/django-rest-framework", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/encode/django-rest-framework" }, { "reference_url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8" }, { "reference_url": "https://github.com/encode/django-rest-framework/pull/6191", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/encode/django-rest-framework/pull/6191" }, { "reference_url": "https://github.com/encode/django-rest-framework/pull/6330", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/encode/django-rest-framework/pull/6330" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-25045", "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": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-25045" }, { "reference_url": "https://github.com/advisories/GHSA-xqcf-hj92-967m", "reference_id": "GHSA-xqcf-hj92-967m", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-xqcf-hj92-967m" } ], "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": 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." }, { "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." } ], "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-9h2z-u4vm-2kdk" }