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-10-21T02:51:17Z
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
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25712.json"
}
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
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.2.6"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "original_tag":  "v1.2.6",
            "range":  [
                {
                    "fixed":  "b7d83e8fba85a7a51aa7e45e8244b4173f15049e"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "cpe":  "cpe:2.3:a:http-swagger_project:http-swagger:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.2.6"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

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"