CVE-2025-46655

Source
https://cve.org/CVERecord?id=CVE-2025-46655
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46655.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-46655
Published
2025-04-26T00:00:00Z
Modified
2026-07-15T01:49:03.867965428Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

CodiMD through 2.5.4 has a CSP-based protection mechanism against XSS through uploaded SVG documents containing JavaScript, but it can be bypassed in certain cases of different-origin file storage, such as AWS S3. NOTE: it can be considered a user error if AWS is employed for hosting untrusted JavaScript content, but the selected architecture within AWS does not have components that are able to insert Content-Security-Policy headers.

Database specific
{
    "cwe_ids": [
        "CWE-424"
    ],
    "isDisputed": true,
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46655.json"
}
References

Affected packages

Git / github.com/hackmdio/codimd

Affected ranges

Type
GIT
Repo
https://github.com/hackmdio/codimd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.5.4"
        },
        {
            "fixed": "2.5.4"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

0.*
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.5.0
1.*
1.0.0-ce
1.0.1-ce
1.1.0-ce
1.1.1-ce
1.2.0
1.2.1
1.3.0
1.3.1
1.4.0
1.4.1
2.*
2.0.0
2.0.1
2.1.0
2.2.0
2.3.0
2.3.1
2.3.2
2.4.0
2.4.1
2.4.2
2.5.0
2.5.1
2.5.2
2.5.3
v0.*
v0.3.3
v0.3.4

Database specific

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