CVE-2026-5742 UsersWP <= 1.2.60 - Authenticated (Subscriber+) Stored Cross-Site Scripting via User Badge Link Substitution
Authenticated attackers can inject arbitrary scripts via user badge links, leading to code execution when other users view the affected widget.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5742?
CVE-2026-5742 is a medium-severity cross-site scripting vulnerability in stiofansisland UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP, published on 9 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The UsersWP plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 1.2.60. This is due to insufficient input sanitization of user-supplied URL fields and improper output escaping when rendering user profile data in badge widgets. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts that will execute whenever a user accesses a page containing the affected badge widget.
Weakness: CWE-79
Which versions are affected by CVE-2026-5742?
How do I fix CVE-2026-5742?
No fix has been published for CVE-2026-5742 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-2026-5742 being exploited?
There is no known exploitation of CVE-2026-5742 in the wild and no public exploit code.
Sources
Also known as GHSA-88ch-mr98-cfqw.