VK Post Author Display <= 1.28.2 - Authenticated (Editor+) Stored Cross-Site Scripting via Term Color
- ID
- WPSEC-2026-4064
- Plugin
- VK Post Author Display (vk-post-author-display)
- Affected
- from 1.0.0 before 1.28.3
- Remediation
- Update to 1.28.3 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
- Attack surface
- VK Post Author Display on WPSec AttackSurface
- Fix released
- Published
Description
The VK Post Author Display plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the category/tag color ('term_color') setting in all versions up to, and including, 1.28.2. This is due to insufficient input sanitization and output escaping. The submitted color was saved without sanitization. The hex check in sanitize_hex() was anchored only at the end of the string, so any value ending in three or six hex characters passed. The value was then printed unescaped into the style attribute of the post's category label on the front end and into the value attribute of the term edit form. This makes it possible for authenticated attackers who can edit terms (Editor-level access and above by default, or lower roles when the color is enabled on custom taxonomies with weaker capabilities), and who lack the unfiltered_html capability, to inject arbitrary web scripts in pages that will execute whenever a user accesses an affected page.
References
- https://wpsec.com/vuln/WPSEC-2026-4064/
- https://plugins.svn.wordpress.org/vk-post-author-display/tags/1.28.3/
- https://wordpress.org/plugins/vk-post-author-display/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS