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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-25707There is a reflected cross site scripting in Esri Portal for…4.8
- CVE-2024-25708There is a stored Cross-site Scripting vulnerability in Esri…4.8
- CVE-2024-25709There is a stored Cross‑Site Scripting (XSS) vulnerability i…6.1
- CVE-2024-2571A vulnerability was found in SourceCodester Employee Task Ma…9.8
- CVE-2024-25710Loop with Unreachable Exit Condition ('Infinite Loop') vulne…5.5
- CVE-2024-25711diffoscope before 256 allows directory traversal via an embe…7.5
- CVE-2024-25713yyjson through 0.8.0 has a double free, leading to remote co…8.6
- CVE-2024-25714In Rhonabwy through 1.1.13, HMAC signature verification uses…9.8
- CVE-2024-25715Glewlwyd SSO server 2.x through 2.7.6 allows open redirectio…6.1
- CVE-2024-25718In the Samly package before 1.4.0 for Elixir, Samly.State.St…9.8
- CVE-2024-2572A vulnerability was found in SourceCodester Employee Task Ma…9.8
- CVE-2024-25722qanything_kernel/connector/database/mysql/mysql_client.py in…9.8
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
