Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. librenms/librenms
  4. ›
  5. CVE-2022-4068

CVE-2022-4068: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 20, 2022 (updated November 29, 2022)

A user is able to enable their own account if it was disabled by an admin while the user still holds a valid session. Moreover, the username is not properly sanitized in the admin user overview. This enables an XSS attack that enables an attacker with a low privilege user to execute arbitrary JavaScript in the context of an admin’s account.

References

  • github.com/advisories/GHSA-f3hw-3h74-wr98
  • github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1
  • huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc
  • nvd.nist.gov/vuln/detail/CVE-2022-4068

Code Behaviors & Features

Detect and mitigate CVE-2022-4068 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 22.10.0

Fixed versions

  • 22.10.0

Solution

Upgrade to version 22.10.0 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

packagist/librenms/librenms/CVE-2022-4068.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 18 Nov 2026 00:17:39 +0000.