CVE-2024-25712

Published Feb 11, 2024 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 16, 2025, 6:20 PM
Reserved
Feb 11, 2024, 12:00 AM
Status
Modified
Published
Feb 29, 2024, 1:44 AM
Modified
Jun 17, 2026, 7:16 AM