Skip to main content
Public proof of conceptFix available

CVE-2022-4068

A public proof of concept exists; no exploitation attested.

  • Published2022-11-20
  • Fixed in22.10.0
  • WeaknessCWE-79 · CWE-915

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2022-11-2005:15CVE publishedNVD
  2. 2026-12-0204:55EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD · OSV
Librenms
BranchAffectedFixed in
22.10< 22.10.022.10.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As @huntrdev, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • librenms/librenms
    Affected
    • < 22.10.0fixed in 22.10.0custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-11-20

Fix

  1. Update Librenms to 22.10.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-25
  • NVDCVSS 3.15.4read 2026-10-23
  • CNACVSS 3.07.6known since 2026-10-23
  • CNAweakness (CWE)CWE-915known since 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score44.5 %read 2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2022-11-21

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published
2022-11-20
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-f3hw-3h74-wr98

Frequently asked questions

What is CVE-2022-4068?

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.

Is CVE-2022-4068 actively exploited?

A proof-of-concept exploit exists for CVE-2022-4068, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-4068?

CVE-2022-4068 has a CVSS v3 base score of 5.4 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record