WordPress Plugin Vulnerabilities
CodeColorer < 0.10.1 – Admin+ Stored Cross-Site Scripting
Description
The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
Proof of Concept
1. In the plugin's settings, add the payload `"><script>alert(1)</script>` to the "Custom CSS Classes" field. 2. Save and when the page reloads, see XSS.
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Ilyase Dehy and Aymane Mazguiti
Submitter
Ilyase Dehy
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-06-05 (about 11 months ago)
Added
2023-06-05 (about 11 months ago)
Last Updated
2023-06-05 (about 11 months ago)