Vulnerabilities / Simple Colorbox / WPSEC-2026-4174

Simple Colorbox <= 1.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via data-cbox-* Attributes

Medium 6.4 CWE-79Fixed in 1.6.2
ID
WPSEC-2026-4174
Plugin
Simple Colorbox (simple-colorbox)
Affected
from 1.6 before 1.6.2
Remediation
Update to 1.6.2 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 Low among sites WPSec scans, 2026-11-28
Attack surface
Simple Colorbox on WPSec AttackSurface
Fix released
Published

Description

The Simple Colorbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via per-element data-cbox-* attributes in all versions up to, and including, 1.6.1. The bundled Colorbox script reads setting overrides such as html, href, iframe, close and imgError from these attributes on links, and the values are passed to HTML sinks and the iframe source without sanitization. WordPress allows data-* attributes in post content, so authenticated attackers with contributor-level access and above can inject arbitrary web scripts that execute when a user opens the lightbox.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0