Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpservermon/phpservermon
  4. ›
  5. CVE-2024-5312

CVE-2024-5312: PHP Server Monitor vulnerable to Cross-site Scripting

May 24, 2024

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.

References

  • github.com/PHPMailer/PHPMailer/commit/ff8718f72225a2e34d918c06a3b2c8cca5af3164
  • github.com/advisories/GHSA-rq7f-j68f-mqh3
  • github.com/phpservermon/phpservermon
  • nvd.nist.gov/vuln/detail/CVE-2024-5312
  • www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-php-server-monitor

Code Behaviors & Features

Detect and mitigate CVE-2024-5312 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.3.0

Fixed versions

  • 3.3.0

Solution

Upgrade to version 3.3.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/phpservermon/phpservermon/CVE-2024-5312.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.