Vulnerabilites related to django-rest-framework - django_rest_framework
CVE-2018-25045 (GCVE-0-2018-25045)
Vulnerability from cvelistv5
Published
2022-07-23 01:43
Modified
2024-08-05 12:26
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- n/a
Summary
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
References
▼ | URL | Tags |
---|---|---|
https://github.com/encode/django-rest-framework/pull/6191 | x_refsource_MISC | |
https://github.com/encode/django-rest-framework/pull/6330 | x_refsource_MISC | |
https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 | x_refsource_MISC |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-05T12:26:39.674Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/encode/django-rest-framework/pull/6191" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/encode/django-rest-framework/pull/6330" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "n/a", "vendor": "n/a", "versions": [ { "status": "affected", "version": "n/a" } ] } ], "descriptions": [ { "lang": "en", "value": "Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping." } ], "problemTypes": [ { "descriptions": [ { "description": "n/a", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2022-07-23T01:43:37", "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "shortName": "mitre" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/encode/django-rest-framework/pull/6191" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/encode/django-rest-framework/pull/6330" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2018-25045", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/encode/django-rest-framework/pull/6191", "refsource": "MISC", "url": "https://github.com/encode/django-rest-framework/pull/6191" }, { "name": "https://github.com/encode/django-rest-framework/pull/6330", "refsource": "MISC", "url": "https://github.com/encode/django-rest-framework/pull/6330" }, { "name": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8", "refsource": "MISC", "url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8" } ] } } } }, "cveMetadata": { "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "assignerShortName": "mitre", "cveId": "CVE-2018-25045", "datePublished": "2022-07-23T01:43:37", "dateReserved": "2022-07-23T00:00:00", "dateUpdated": "2024-08-05T12:26:39.674Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }
Vulnerability from fkie_nvd
Published
2022-07-23 02:15
Modified
2024-11-21 04:03
Severity ?
Summary
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
References
▼ | URL | Tags | |
---|---|---|---|
cve@mitre.org | https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 | Patch, Third Party Advisory | |
cve@mitre.org | https://github.com/encode/django-rest-framework/pull/6191 | Third Party Advisory | |
cve@mitre.org | https://github.com/encode/django-rest-framework/pull/6330 | Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 | Patch, Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://github.com/encode/django-rest-framework/pull/6191 | Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://github.com/encode/django-rest-framework/pull/6330 | Third Party Advisory |
Impacted products
Vendor | Product | Version | |
---|---|---|---|
django-rest-framework | django_rest_framework | * |
{ "configurations": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:django-rest-framework:django_rest_framework:*:*:*:*:*:*:*:*", "matchCriteriaId": "A87B462A-AF33-47AE-A524-A5338CFE1319", "versionEndExcluding": "3.9.1", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "cveTags": [], "descriptions": [ { "lang": "en", "value": "Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping." }, { "lang": "es", "value": "El marco REST de Django (tambi\u00e9n se conoce como django-rest-framework) versiones anteriores a 3.9.1, permite un ataque de tipo XSS porque las plantillas de visualizaci\u00f3n de la API navegable de DRF por defecto deshabilitan el auto escapado" } ], "id": "CVE-2018-25045", "lastModified": "2024-11-21T04:03:25.850", "metrics": { "cvssMetricV31": [ { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 2.7, "source": "nvd@nist.gov", "type": "Primary" } ] }, "published": "2022-07-23T02:15:07.267", "references": [ { "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8" }, { "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ], "url": "https://github.com/encode/django-rest-framework/pull/6191" }, { "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ], "url": "https://github.com/encode/django-rest-framework/pull/6330" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ], "url": "https://github.com/encode/django-rest-framework/pull/6191" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ], "url": "https://github.com/encode/django-rest-framework/pull/6330" } ], "sourceIdentifier": "cve@mitre.org", "vulnStatus": "Modified", "weaknesses": [ { "description": [ { "lang": "en", "value": "CWE-79" } ], "source": "nvd@nist.gov", "type": "Primary" } ] }