CVE-2022-2941 WP-UserOnline <= 2.88.0 - Authenticated (Admin+) Stored Cross-Site Scripting
Administrators can inject JavaScript into WP-UserOnline settings, executing code on user pages in specific multi-site or unfiltered_html configurations.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2941?
CVE-2022-2941 is a medium-severity cross-site scripting vulnerability in gamerz WP-UserOnline, published on 6 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The WP-UserOnline plugin for WordPress has multiple Stored Cross-Site Scripting vulnerabilities in versions up to, and including 2.88.0. This is due to the fact that all fields in the "Naming Conventions" section do not properly sanitize user input, nor escape it on output. This makes it possible for authenticated attackers, with administrative privileges, to inject JavaScript code into the setting that will execute whenever a user accesses the injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Weakness: CWE-79
Which versions are affected by CVE-2022-2941?
It affects 1 product.
Products include Wp-Useronline Project Wp-Useronline.
How do I fix CVE-2022-2941?
No fix has been published for CVE-2022-2941 yet. Limit exposure of the affected software until one is available.
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-2941 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2941 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in gamerz WP-UserOnline
Sources
Also known as GHSA-pwp2-44q5-vv6j.