# Schema - All In One Schema Rich Snippets <= 1.7.9 - Unauthenticated IP Spoofing to Rating Manipulation via X-Forwarded-For Header

- **ID:** WPSEC-2026-4380
- **Plugin:** Schema – All In One Schema Rich Snippets (`all-in-one-schemaorg-rich-snippets`), https://wordpress.org/plugins/all-in-one-schemaorg-rich-snippets/
- **Affected versions:** all versions before 1.7.10
- **Fixed in:** 1.7.10 (Update to 1.7.10 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-348
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/all-in-one-schemaorg-rich-snippets
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4380/

## Description

The Schema – All In One Schema Rich Snippets plugin for WordPress is vulnerable to IP address spoofing in the post rating feature in all versions up to, and including, 1.7.9. The cause is that the visitor identifier used to enforce one rating per visitor comes from values the client controls: the get_the_ip() function trusts the X-Forwarded-For and Client-IP request headers, and versions before 1.7.9 took the IP straight from the request body. This makes it possible for unauthenticated attackers to get around the one-rating-per-visitor restriction and submit unlimited ratings. They can also overwrite another visitor's existing rating by claiming that visitor's IP address. Either way, they can manipulate the displayed post ratings.

## References

- https://wpsec.com/vuln/WPSEC-2026-4380/
- https://plugins.svn.wordpress.org/all-in-one-schemaorg-rich-snippets/tags/1.7.10/
- https://wordpress.org/plugins/all-in-one-schemaorg-rich-snippets/

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

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.
