Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting phpservermon/phpservermon package, versions <3.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PHPSERVERMONPHPSERVERMON-7116663
  • published26 May 2024
  • disclosed24 May 2024
  • creditRafael Pedrero

Introduced: 24 May 2024

CVE-2024-5312  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade phpservermon/phpservermon to version 3.3.0 or higher.

Overview

phpservermon/phpservermon is a PHP Server Monitor.

Affected versions of this package are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') via the /phpservermon-3.2.0/vendor/phpmailer/phpmailer/test_script/index.php page in all visible parameters. An attacker can retrieve session details by creating a specially crafted URL and sending it to a victim.

CVSS Scores

version 3.1