# On Page SEO + Whatsapp Chat Button <= 2.0.3 - Cross-Site Request Forgery to robots.txt Modification

- **ID:** WPSEC-2026-1323
- **Plugin:** On Page SEO + Social Live Chat (`ops-robots-txt`), https://wordpress.org/plugins/ops-robots-txt/
- **Affected versions:** all versions before 2.0.4
- **Fixed in:** 2.0.4 (Update to 2.0.4 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ops-robots-txt
- **Fix released:** 2026-10-20
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1323/

## Description

The On Page SEO + Social Live Chat plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.0.3 due to missing nonce validation in the robots.txt settings handler (Submit and Reset actions) of the settings page. This makes it possible for unauthenticated attackers to overwrite the site's robots.txt file with arbitrary content or reset it to defaults via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-1323/
- https://plugins.svn.wordpress.org/ops-robots-txt/tags/2.0.4/
- https://wordpress.org/plugins/ops-robots-txt/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1323/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
