CVE-2022-36746 LibreNMS vulnerable to Cross-Site Scripting (XSS)

Medium 6.1 Published Updated

An attacker can inject malicious scripts into LibreNMS via the oxidized-cfg-check component, potentially compromising user sessions or executing code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-36746?

CVE-2022-36746 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 30 Aug 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

LibreNMS v22.6.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the component oxidized-cfg-check.inc.php.

Weakness: CWE-79

Which versions are affected by CVE-2022-36746?

2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.

PackageAffectedFixed in
librenms/librenms PackagistAll versions22.7.0
librenms/librenms PackagistAll versions22.7.0

Products include Librenms Librenms.

How do I fix CVE-2022-36746?

Upgrade librenms/librenms to 22.7.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-36746 being exploited?

There is no known exploitation of CVE-2022-36746 in the wild and no public exploit code.

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-325v-g5vx-whxc.

Is CVE-2022-36746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free