{"id":"CVE-2026-4267","aliases":["CVE-2026-4267","GHSA-2xr4-chcf-vmvf"],"related":[],"kind":"vulnerability","state":"published","title":"Query Monitor <= 3.20.3 - Reflected Cross-Site Scripting via Request URI","summary":"The Query Monitor – The developer tools panel for WordPress 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 input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Query Monitor – The developer tools panel for WordPress 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 input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\nOn 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.\n\n### Patches\n\nThis issue has been patched in Query Monitor 3.20.4.\n\n### Credits\n\nMany thanks to Dmitrii Ignatyev at CleanTalk for responsibly disclosing this vulnerability.\n\n### How can I report a security bug?\n\nYou can submit a private security vulnerability report to Query Monitor via [the Security tab on the GitHub repo](https://github.com/johnbillion/query-monitor/security). The GitHub Security Advisory process facilitates private collaboration on security issues. You'll receive credit for a valid report and a CVE if necessary.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El Query Monitor - el panel de herramientas para desarrolladores del plugin de WordPress para WordPress es vulnerable a cross-site scripting reflejado a través del parámetro '$_SERVER['REQUEST_URI']' en todas las versiones hasta la, e incluyendo, la 3.20.3 debido a sanitización de entrada y escape de salida insuficientes. Esto hace posible que atacantes no autenticados inyecten scripts web arbitrarios en páginas que se ejecutan si logran engañar con éxito a un usuario para que realice una acción como hacer clic en un enlace.","source":"nvd"}],"published":"2026-03-19T19:37:04.000Z","modified":"2026-07-24T20:10:00.147Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.20.3","status":"affected"}],"vendor":"johnbillion","product":"Query Monitor","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.20.4"}],"ecosystem":"Packagist","package":"johnbillion/query-monitor","purl":"pkg:composer/johnbillion/query-monitor","source":"ghsa"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0b75cad9-9f76-4839-8eb2-40d84662846d?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/query-monitor/tags/3.20.2/output/html/request.php#L60","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/query-monitor/tags/3.20.2/output/html/request.php#L70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3486705/query-monitor","tags":[],"sources":["cvelist","nvd"]},{"url":"https://research.cleantalk.org/cve-2026-4267/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/johnbillion/query-monitor/security/advisories/GHSA-2xr4-chcf-vmvf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/johnbillion/query-monitor","tags":["package"],"sources":["ghsa"]}],"credits":["Dmitrii Ignatyev"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-31T13:43:25.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4267","url":"https://www.cve.org/CVERecord?id=CVE-2026-4267","licence":"CVE Terms of Use","modified":"2026-04-08T16:34:51.846Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2xr4-chcf-vmvf","url":"https://github.com/advisories/GHSA-2xr4-chcf-vmvf","licence":"CC-BY-4.0","modified":"2026-03-19T19:56:20.713Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4267","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4267","licence":"Public domain","modified":"2026-07-24T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:17.575Z","epss":{"score":0.00336,"percentile":0.28928,"date":"2026-12-01T12:00:22.000Z"}}