Vulnerabilities / Open Graphite / WPSEC-2026-1312
Open Graphite <= 1.7.1 - Authenticated (Author+) Stored Cross-Site Scripting via Custom Image Field
Medium 6.4
CWE-79Fixed in 2.0.0
- ID
- WPSEC-2026-1312
- Plugin
- Open Graphite (open-graphite)
- Affected
- all versions before 2.0.0
- Remediation
- Update to 2.0.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-21
- Attack surface
- Open Graphite on WPSec AttackSurface
- Fix released
- Published
Description
The Open Graphite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '_custom_image' post meta field in all versions up to, and including, 1.7.1. The value is saved with sanitize_text_field, which keeps double quotes, and is then echoed without escaping into the src and value attributes of the Open Graphite metabox. This makes it possible for authenticated attackers with author-level access and above to inject arbitrary web scripts that execute when an editor or administrator opens the post in the editor.
References
- https://wpsec.com/vuln/WPSEC-2026-1312/
- https://plugins.svn.wordpress.org/open-graphite/tags/2.0.0/
- https://wordpress.org/plugins/open-graphite/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS