Simple Colorbox <= 1.6.2 - Unauthenticated Stored Cross-Site Scripting via Anchor 'title' Attribute in Comments
Summary
The Simple Colorbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 1.6.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scrip...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ryanhellyerSimple Colorbox |
≤ 1.6.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The Simple Colorbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 1.6.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. WordPress core comment kses permits the <a> tag with a title attribute and preserves entity-encoded content within it, so a payload such as <img src=x onerror=...> survives save-time sanitization; the browser decodes the attribute into the raw DOM .title property at render time, bypassing the save-time encoding before it reaches the .html() sink. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Source: CVE.org (CVE Program・cvelistV5) NVD