CVE-2024-8317
The WP AdCenter – Ad Manager & Adsense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘ad_alignment’ attribute in all versions up to, and including, 2.5.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
- Score
- CVSS 3.1 6.4 Medium
- Status
- Analyzed - security@wordfence.com
- Published
- 2024-09-06
- Last modified
- 2026-04-08
- Weaknesses
- CWE-79
Affected products
References
- https://plugins.trac.wordpress.org/browser/wpadcenter/trunk/admin/class-wpadcenter-admin.php#L2922
- https://plugins.trac.wordpress.org/browser/wpadcenter/trunk/admin/class-wpadcenter-admin.php#L3020
- https://plugins.trac.wordpress.org/browser/wpadcenter/trunk/admin/class-wpadcenter-admin.php#L3127
- https://plugins.trac.wordpress.org/changeset/3146736/
- https://plugins.trac.wordpress.org/changeset/3146736/#file6
- https://wordpress.org/plugins/wpadcenter/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ac7f95c7-2159-4327-ba09-da7721f1312e?source=cve