CVE-2025-46655

State
Published
Severity
4.9 Medium
Published
Apr 26, 2025
Updated
Apr 29, 2025
Reserved
Apr 26, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:Nmitre

Weaknesses

  • CWE-424 Improper Protection of Alternate Path

Affected Products

ProductVersions
CodiMDHackMD
  • 2.5.4 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.