Vulnerability · Published Jun 30, 2026 · Assigned by Wordfence
CVE-2026-12560Editorial Rating <= 4.0.5 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Link URL' Field
Medium 4.4
In plain English
A medium-severity cross-site scripting in Editorial Rating – Product Review & Rating System from wpqode. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities).
Official description
The Editorial Rating – Product Review & Rating System plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'Link URL' Field in all versions up to, and including, 4.0.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The WordPress unfiltered_html capability exemption does not apply here because the payload is stored in post meta (_wpas_er_options via update_post_meta) rather than in post_content or post_excerpt, meaning the restriction affects all administrators regardless of their unfiltered_html status.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wpqode | Editorial Rating – Product Review & Rating System | 0 – through 4.0.5 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/26c63d73-6ce2-4b3a-b0d9-29f7d9b368d5?source=cve
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.5/public/template-parts/wpas-theme-1.php#L57
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.5/public/template-parts/wpas-theme-1.php#L87
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.5/public/class-average-score-public_display.php#L90
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.5/admin/wpas-framework/options/metabox-options.php#L446
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.3/public/template-parts/wpas-theme-1.php#L57
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.3/public/template-parts/wpas-theme-1.php#L87
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.3/public/class-average-score-public_display.php#L90
- https://plugins.trac.wordpress.org/browser/editorial-rating/tags/4.0.3/admin/wpas-framework/options/metabox-options.php#L446