CVE-2023-4981
PHP vulnerability analysis and mitigation

Overview

CVE-2023-4981 is a Cross-site Scripting (XSS) vulnerability discovered in GitHub repository librenms/librenms prior to version 23.9.0. The vulnerability was disclosed and published on September 14, 2023, affecting the LibreNMS network monitoring system (NVD).

Technical details

The vulnerability is classified as a DOM-based Cross-site Scripting (XSS) issue with a CVSS v3.1 base score of 5.4 (Medium) according to NVD's assessment. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, indicating that the vulnerability requires network access, low attack complexity, and low privileges, but user interaction is required (NVD).

Impact

The vulnerability could allow an attacker to execute malicious scripts in the context of the user's browser session, potentially leading to unauthorized access to sensitive information and cookie theft (NVD).

Mitigation and workarounds

The vulnerability has been patched in LibreNMS version 23.9.0. Users are advised to upgrade to this version or later. The fix involves properly escaping user input in the eventlog component using htmlspecialchars instead of addcslashes (GitHub).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management