{"id":"GHSA-rq7f-j68f-mqh3","summary":"PHP Server Monitor vulnerable to Cross-site Scripting","details":"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.","aliases":["CVE-2024-5312"],"modified":"2024-05-24T19:41:53.163393Z","published":"2024-05-24T18:45:28Z","database_specific":{"nvd_published_at":"2024-05-24T11:15:10Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-05-24T18:45:28Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5312"},{"type":"WEB","url":"https://github.com/PHPMailer/PHPMailer/commit/ff8718f72225a2e34d918c06a3b2c8cca5af3164"},{"type":"PACKAGE","url":"https://github.com/phpservermon/phpservermon"},{"type":"WEB","url":"https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-php-server-monitor"}],"affected":[{"package":{"name":"phpservermon/phpservermon","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.2.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-rq7f-j68f-mqh3/GHSA-rq7f-j68f-mqh3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}