Show plain JSON{"configurations": [{"nodes": [{"cpeMatch": [{"criteria": "cpe:2.3:a:http-swagger_project:http-swagger:*:*:*:*:*:*:*:*", "matchCriteriaId": "05C10F2A-841B-4895-99F9-D7D9DB08F50B", "versionEndExcluding": "1.2.6", "vulnerable": true}], "negate": false, "operator": "OR"}]}], "cveTags": [], "descriptions": [{"lang": "en", "value": "http-swagger before 1.2.6 allows XSS via PUT requests, because a file that has been uploaded (via httpSwagger.WrapHandler and *webdav.memFile) can subsequently be accessed via a GET request. NOTE: this is independently fixable with respect to CVE-2022-24863, because (if a solution continued to allow PUT requests) large files could have been blocked without blocking JavaScript, or JavaScript could have been blocked without blocking large files."}, {"lang": "es", "value": "http-swagger anterior a 1.2.6 permite XSS a trav\u00e9s de solicitudes PUT, porque posteriormente se puede acceder a un archivo que se ha subido (a trav\u00e9s de httpSwagger.WrapHandler y *webdav.memFile) a trav\u00e9s de una solicitud GET. NOTA: esto se puede solucionar de forma independiente con respecto a CVE-2022-24863, porque (si una soluci\u00f3n continuara permitiendo solicitudes PUT) los archivos grandes podr\u00edan haberse bloqueado sin bloquear JavaScript, o JavaScript podr\u00eda haberse bloqueado sin bloquear archivos grandes."}], "id": "CVE-2024-25712", "lastModified": "2025-01-16T17:51:16.490", "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": "2024-02-29T01:44:16.287", "references": [{"source": "cve@mitre.org", "tags": ["Exploit", "Third Party Advisory"], "url": "https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html"}, {"source": "cve@mitre.org", "tags": ["Release Notes"], "url": "https://github.com/swaggo/http-swagger/releases/tag/v1.2.6"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Third Party Advisory"], "url": "https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Release Notes"], "url": "https://github.com/swaggo/http-swagger/releases/tag/v1.2.6"}], "sourceIdentifier": "cve@mitre.org", "vulnStatus": "Analyzed", "weaknesses": [{"description": [{"lang": "en", "value": "CWE-79"}], "source": "nvd@nist.gov", "type": "Primary"}]}