Security Alert Summary
The Simple Colorbox plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability via the comment parameter in versions up to and including 1.6.2. Insufficient input sanitization and output escaping allow an unauthenticated attacker to inject scripts that execute when an affected page is viewed. Successful exploitation additionally requires an action by an administrator and cannot be triggered solely by the attacker.
CVE Details
- CVE ID: CVE-2026-137105
- Affected component: Simple Colorbox plugin for WordPress
- Affected versions: all versions up to and including 1.6.2
- Published: December 2, 2026 at 12:17:21 PM
- Last modified: December 2, 2026 at 1:17:13 PM
- CVSS v3.1: Base score 6.1, MEDIUM; vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Authentication/Privileges/User Interaction: Privileges Required: NONE; User Interaction: REQUIRED (per CVSS data)
- Scope: CHANGED
- Primary impact: Confidentiality: LOW; Integrity: LOW; Availability: NONE
- Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)
Technical Details
The vulnerability is a stored cross-site scripting issue triggered by the plugin processing of the comment parameter. WordPress core comment kses permits the <a> tag with a title attribute and preserves entity-encoded content inside it. A payload such as <img src=x onerror=...> can survive save-time sanitization because the payload is stored in an entity-encoded form. When the page is rendered in a browser, the browser decodes the attribute into the DOM .title property, which bypasses the save-time encoding before the content reaches the plugin’s .html() sink and allows script execution in the context of a site visitor.
The description notes that exploitation additionally requires an action by an administrator; an attacker cannot trigger the vulnerability on their own. The root cause is insufficient input sanitization and output escaping for comment content that is ultimately written into the page DOM in a way that allows decoded attributes to become executable.
How This Could Impact Your Website
Consider a small team site where a site owner manages the installation, internal staff publish content, and external contractors or contributors submit comments or content. If an attacker stores a malicious payload in a comment that survives sanitization, that payload could execute in the browser of any user who views the affected page after an administrator action enables or exposes the stored content.
Practical consequences include exposure of internal user data such as email addresses visible on user lists or comment threads and an increased risk of targeted phishing or social engineering against staff or contractors who access affected pages. Successful attacks could also allow an attacker to run scripts in the context of a logged-in user, enabling actions limited by that user’s privileges consistent with the reported low confidentiality and integrity impacts.
If youre unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially for contributor or low-privilege accounts that can submit content or comments.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins.
- Monitor site activity and logs for unusual behavior, including unexpected changes to stored comments or content.
If youd like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://plugins.trac.wordpress.org/browser/simple-colorbox/tags/1.6.1/index.php#L113
- https://plugins.trac.wordpress.org/browser/simple-colorbox/tags/1.6.1/index.php#L135
- https://plugins.trac.wordpress.org/browser/simple-colorbox/tags/1.6.1/scripts/jquery.colorbox-min.js#L7
- https://plugins.trac.wordpress.org/changeset/3829400/simple-colorbox/trunk/scripts/jquery.colorbox-min.js
- https://plugins.trac.wordpress.org/changeset/3829845/simple-colorbox/trunk/scripts/jquery.colorbox-min.js
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7f9c3f2c-7fee-4b9e-8b79-7c0ecebbe730?source=cve