CVE-2022-1027 Page Restriction WordPress < 1.2.7 - Admin+ Stored Cross-Site Scripting
Administrators can inject JavaScript into settings, leading to stored XSS affecting other admin users in the Page Restriction WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-1027?
CVE-2022-1027 is a medium-severity cross-site scripting vulnerability in Unknown Page Restriction WordPress (WP) – Protect WP Pages/Post, published on 25 Apr 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Page Restriction WordPress (WP) WordPress plugin before 1.2.7 allows bad actors with administrator privileges to the settings page to inject Javascript code to its settings leading to stored Cross-Site Scripting that will only affect administrator users.
Weakness: CWE-79
Which versions are affected by CVE-2022-1027?
It affects 1 product.
Products include Minioragne Page Restriction.
How do I fix CVE-2022-1027?
No fix has been published for CVE-2022-1027 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-1027 being exploited?
There is no known exploitation of CVE-2022-1027 in the wild and no public exploit code.
Sources
Also known as GHSA-7fmh-wc5m-w4rx.