Read the docs
TI-2024-16918 Aliases CVE-2024-25712GHSA-49w7-5r33-jm9m

http-swagger before 1.2.6 allows XSS via PUT requests, because a file that has been…

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00561 46th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/swaggo/http-swagger (Go): 1.2.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—github.com/swaggo/http-swagger (Go)before 1.2.61.2.6Patch availableGHSA-49w7-5r33-jm9m
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/swaggo/http-swagger (Go) Vendor— Affected before 1.2.6 Fixed in 1.2.6 Patch available GHSA-49w7-5r33-jm9m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:http-swagger_project:http-swagger:*:*:*:*:*:*:*:*before 1.2.6VulnerableHttp-swagger Project
  • cpe:2.3:a:http-swagger_project:http-swagger:*:*:*:*:*:*:*:* Versions before 1.2.6 Vulnerable ·Http-swagger Project

Remediation

  • Fix · GHSA-49w7-5r33-jm9m github.com/swaggo/http-swagger (Go) Fixed in 1.2.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-25712
  2. 2026-10-03 Alias added: GHSA-49w7-5r33-jm9m

References

Sources