{"id":"CVE-2018-25045","sourceIdentifier":"cve@mitre.org","published":"2022-07-23T02:15:07.267","lastModified":"2026-06-17T01:54:35.713","vulnStatus":"Modified","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én se conoce como django-rest-framework) versiones anteriores a 3.9.1, permite un ataque de tipo XSS porque las plantillas de visualización de la API navegable de DRF por defecto deshabilitan el auto escapado"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:django-rest-framework:django_rest_framework:*:*:*:*:*:*:*:*","versionEndExcluding":"3.9.1","matchCriteriaId":"A87B462A-AF33-47AE-A524-A5338CFE1319"}]}]}],"references":[{"url":"https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8","source":"cve@mitre.org","tags":["Patch","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":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","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","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}