Medium

MODX Revolution XSS via HTTP Host header

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 10:22

In MODX Revolution before 2.5.7, an attacker might be able to trigger XSS by injecting a payload into the HTTP Host header of a request. This is exploitable only in conjunction with other issues such as Cache Poisoning.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package modx/revolution < 2.5.7 2.5.7

References

CVSS score 4.7/10
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Composer
Package
modx/revolution
Disclosed
17.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-p2j4-vrgx-96qg - CC BY 4.0

Vulnerability history: modx/revolution

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (14) in the archive
Total entries
14
First → latest
11.2021 03.2025
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 5
  • Medium 7
  • Low 1

Disclosures per year

  1. 2021: 1
  2. 2022: 12
  3. 2023: 0
  4. 2024: 0
  5. 2025: 1
  6. 2026: 0
Severity:
  1. High · 8.8 CVE-2017-9069 < 2.5.7 2.5.7
  2. MODX Revolution XSS via HTTP Host header this entry
    Medium · 4.7 CVE-2017-9071 < 2.5.7 2.5.7
  3. High · 7.0 CVE-2017-9067 < 2.5.7 2.5.7
  4. High · 8.8 CVE-2017-1000067 >= 2.0.0, < 2.6.0 2.6.0
  5. High · 7.2 CVE-2018-1000207 < 2.7.0 2.7.0
  6. High · 7.2 CVE-2022-26149 <= 2.8.3-pl no fix
  7. Critical · 9.1 CVE-2020-25911 < 2.8.0 2.8.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.