Description
The Pocket News Generator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings such as “Consumer Key” and “Access Token” in all versions up to, and including, 0.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Severity
4.4 (Medium) - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Affected Version
<= 0.2.0
PoC :
- Go to Settings/Pocket News Generator
- Input payload eneriiiiii<3<!--><Svg OnLoad=(confirm)(1335+2)-->'> on Consumer Key & Access Token
- Payload executed.
Reference
- https://plugins.trac.wordpress.org/browser/pocket-news-generator/trunk/pocket-news-generator.php#L77
- https://www.cve.org/CVERecord?id=CVE-2024-2963
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/pocket-news-generator/pocket-news-generator-020-authenticated-admin-stored-cross-site-scripting