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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-0505 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.
Github GHSA Github GHSA GHSA-49w7-5r33-jm9m http-swagger XSS via PUT requests
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Jun 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Jan 2025 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Http-swagger Project
Http-swagger Project http-swagger
Weaknesses CWE-79
CPEs cpe:2.3:a:http-swagger_project:http-swagger:*:*:*:*:*:*:*:*
Vendors & Products Http-swagger Project
Http-swagger Project http-swagger
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-06-16T18:20:18.592Z

Reserved: 2024-02-11T00:00:00.000Z

Link: CVE-2024-25712

cve-icon Vulnrichment

Updated: 2024-08-01T23:52:06.417Z

cve-icon NVD

Status : Modified

Published: 2024-02-29T01:44:16.287

Modified: 2025-06-16T19:15:32.847

Link: CVE-2024-25712

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.