CVE-2022-0772
PHP vulnerability analysis and mitigation

Overview

CVE-2022-0772 is a Stored Cross-site Scripting (XSS) vulnerability discovered in GitHub repository librenms/librenms versions prior to 22.2.2. The vulnerability was disclosed on February 27, 2022 (NVD).

Technical details

The vulnerability is classified as a Stored Cross-site Scripting (XSS) issue with a CVSS v3.1 base score of 4.8 (Medium) and vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. The issue was found in the alert rule list modal functionality of LibreNMS (NVD).

Impact

The vulnerability could allow an attacker to execute malicious scripts in the context of other users' browsers when they view the affected alert rule list modal, potentially leading to theft of sensitive information or manipulation of the web interface (NVD).

Mitigation and workarounds

The vulnerability has been fixed in LibreNMS version 22.2.2. The patch involves properly sanitizing the rule display output by using strip_tags() function in conjunction with htmlentities() (GitHub Patch).

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-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 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