CVE-2024-5312PHP Server Monitor
Medium 6.3 No auth needed
Follow: this CVE · PHP Server Monitor · PHP Server Monitor We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 6.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 37
- Auth required
- No
- Published
- May 24, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for PHP Server Monitor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpservermon/phpservermon |
< 3.3.0 |
3.3.0 |
composer require "phpservermon/phpservermon:^3.3.0" |
Per OSV / GitHub Advisories (GHSA-rq7f-j68f-mqh3). Check the version in your lockfile before upgrading.
Affected products
- PHP Server Monitor · PHP Server Monitor
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.