{"id":"CVE-2024-5312","aliases":["EUVD-2024-1779","GHSA-rq7f-j68f-mqh3"],"status":"published","title":"Cross-Site Scripting vulnerability in PHP Server Monitor","description":"PHP Server Monitor, version 3.2.0, is vulnerable to an XSS via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker could create a specially crafted URL, send it to a victim and retrieve their session details.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00271,"percentile":0.19579,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-05-24T10:38:35Z","modified":"2026-06-17T08:15:40Z","fixes":[{"ecosystem":"Packagist","package":"phpservermon/phpservermon","fixed_in":["3.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"phpservermon/phpservermon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.2.0"},{"fixed":"3.3.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"phpservermon/phpservermon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0"}]}],"versions":["v3.1.0","v3.1.1","v3.2.0","v3.2.0-rc1","v3.2.1","v3.2.2"]}],"products":[{"vendor":"php server monitor","product":"php server monitor"}],"references":[{"url":"https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-php-server-monitor","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5312","tags":["advisory"]},{"url":"https://github.com/PHPMailer/PHPMailer/commit/ff8718f72225a2e34d918c06a3b2c8cca5af3164","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rq7f-j68f-mqh3"},{"url":"https://github.com/phpservermon/phpservermon","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-5312","title":"Cross-Site Scripting vulnerability in PHP Server Monitor","description":"PHP Server Monitor, version 3.2.0, is vulnerable to an XSS via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker could create a specially crafted URL, send it to a victim and retrieve their session details.","status":"published","published":"2024-05-24T10:38:35.848Z","modified":"2024-08-01T21:11:12.469Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:01.630882Z"}],"euvd":[{"id":"EUVD-2024-1779","description":"PHP Server Monitor, version 3.2.0, is vulnerable to an XSS via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker could create a specially crafted URL, send it to a victim and retrieve their session details.","status":"published","published":"2024-05-24T10:38:35Z","modified":"2024-08-01T21:11:12Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T03:50:34.650065Z"}],"ghsa":[{"id":"GHSA-rq7f-j68f-mqh3","title":"PHP Server Monitor vulnerable to Cross-site Scripting","description":"PHP Server Monitor, version 3.2.0, is vulnerable to an XSS via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker could create a specially crafted URL, send it to a victim and retrieve their session details.","status":"published","published":"2024-05-24T18:45:28Z","modified":"2024-05-24T18:45:29Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:51.549437Z"}],"nvd":[{"id":"CVE-2024-5312","description":"PHP Server Monitor, version 3.2.0, is vulnerable to an XSS via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker could create a specially crafted URL, send it to a victim and retrieve their session details.","status":"published","published":"2024-05-24T11:15:10.017Z","modified":"2026-06-17T08:15:40.89Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:02.520903Z"}],"osv":[{"id":"GHSA-rq7f-j68f-mqh3","title":"PHP Server Monitor vulnerable to Cross-site Scripting","description":"PHP Server Monitor, version 3.2.0, is vulnerable to an XSS via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker could create a specially crafted URL, send it to a victim and retrieve their session details.","status":"published","published":"2024-05-24T18:45:28Z","modified":"2024-05-24T19:41:53.163393Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:56.281047Z"}]}}
