{ "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2024-25712", "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": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "url": "https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html", "refsource": "MISC", "name": "https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.html" }, { "url": "https://github.com/swaggo/http-swagger/releases/tag/v1.2.6", "refsource": "MISC", "name": "https://github.com/swaggo/http-swagger/releases/tag/v1.2.6" } ] } }