Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. modx/revolution
  4. ›
  5. CVE-2025-28010

CVE-2025-28010: MODX allows cross-site scripting (XSS) via an SVG file

March 13, 2025 (updated March 19, 2025)

A cross-site scripting (XSS) vulnerability has been identified in MODX prior to 3.1.0. The vulnerability allows authenticated users to upload SVG files containing malicious JavaScript code as profile images, which gets executed in victims’ browsers when viewing the profile image.

References

  • github.com/advisories/GHSA-hm54-fg2w-2g6j
  • github.com/modxcms/revolution
  • github.com/rtnthakur/CVE/blob/main/MODX/README.md
  • nvd.nist.gov/vuln/detail/CVE-2025-28010

Code Behaviors & Features

Detect and mitigate CVE-2025-28010 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/modx/revolution/CVE-2025-28010.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.