GHSA-2xr4-chcf-vmvf

Suggest an improvement
Source
https://github.com/advisories/GHSA-2xr4-chcf-vmvf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2xr4-chcf-vmvf/GHSA-2xr4-chcf-vmvf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2xr4-chcf-vmvf
Aliases
  • CVE-2026-4267
Published
2026-03-19T19:37:04Z
Modified
2026-03-19T19:46:20.819886Z
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
The Query Monitor plugin for WordPress has Reflected Cross-Site Scripting via Request URI
Details

Impact

The Query Monitor plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the $_SERVER['REQUEST_URI'] parameter in all versions up to, and including, 3.20.3 due to insufficient output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick an Administrator-level user into performing an action such as clicking on a link.

On admin requests, the plugin reads user controlled data from $_SERVER['REQUEST_URI'] and stores it in the request field, then renders request, matched_query, and query_string through format_url(). If the attacker supplied string does not contain &, format_url() returns it without HTML escaping, which allows injected HTML or JavaScript from the request target to be inserted directly into the page inside a <code> element and executed in the victim's browser.

Patches

This issue has been patched in Query Monitor 3.20.4.

Credits

Many thanks to Dmitrii Ignatyev at CleanTalk for responsibly disclosing this vulnerability.

How can I report a security bug?

You can submit a private security vulnerability report to Query Monitor via the Security tab on the GitHub repo. The GitHub Security Advisory process facilitates private collaboration on security issues. You'll receive credit for a valid report and a CVE if necessary.

Database specific
{
    "github_reviewed_at": "2026-03-19T19:37:04Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-80"
    ],
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

Packagist / johnbillion/query-monitor

Package

Name
johnbillion/query-monitor
Purl
pkg:composer/johnbillion/query-monitor

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.20.4

Affected versions

2.*
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.6
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2.6.7
2.6.8
2.6.9
2.6.10
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.8.0
2.8.1
2.9.0
2.9.1
2.10.0
2.11.0
2.11.1
2.11.2
2.11.3
2.11.4
2.12.0
2.13.0
2.13.1
2.13.2
2.13.3
2.13.4
2.14.0
2.15.0
2.16.0
2.16.1
2.16.2
2.17.0
3.*
3.0.0
3.0.1
3.1.0
3.1.1
3.2.0
3.2.1
3.2.2
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.4.0
3.5.0
3.5.1
3.5.2
3.6.0
3.6.1
3.6.2
3.6.3
3.6.4
3.6.5
3.6.6
3.6.7
3.6.8
3.7.0
3.7.1
3.8.0
3.8.1
3.8.2
3.9.0
3.10.0
3.10.1
3.11.0
3.11.1
3.11.2
3.12.0
3.12.1
3.12.2
3.12.3
3.13.0
3.13.1
3.14.0
3.14.1
3.15.0
3.16.0
3.16.1
3.16.2
3.16.3
3.16.4
3.17.0
3.17.1
3.17.2
3.18.0
3.19.0
3.20.0
3.20.1
3.20.2
3.20.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2xr4-chcf-vmvf/GHSA-2xr4-chcf-vmvf.json"