CVE-2024-25712

Source
https://cve.org/CVERecord?id=CVE-2024-25712
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25712.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-25712
Aliases
Published
2024-02-11T00:00:00Z
Modified
2026-07-08T06:45:39.147319909Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25712.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/swaggo/http-swagger

Affected ranges

Type
GIT
Repo
https://github.com/swaggo/http-swagger
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:http-swagger_project:http-swagger:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.2.6"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.1.1
v1.1.2
v1.2.0
v1.2.1
v1.2.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25712.json"