CVE-2022-1027: 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

medium Affects page-restriction (WordPress plugin). Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

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

Package
page-restriction (WordPress plugin) WordPress
Affected versions
<1.2.7
Fixed in
1.2.7
Severity
medium  CVSS 4.8
Exploitation
not on CISA KEV · EPSS 1% (48.4th percentile)
Published
2022-04-25
Source
nvd

References

CWE-79
NVD recordpage-restriction (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories