CVE-2024-25712
Last modified
CVE-2024-25712 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Http-Swagger Project | Http-Swagger | < 1.2.6 |
References
- https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.htmlExploit, Third Party Advisory
- https://cosmosofcyberspace.github.io/improper_http_method_leads_to_xss/poc.htmlExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-25712?
How severe is CVE-2024-25712?
How do I fix CVE-2024-25712?
Are you affected by CVE-2024-25712?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
