Description (CNA)
The AnyComment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'email' parameter in versions up to, and including, 0.3.6. This is due to insufficient input sanitization on the public /wp-json/anycomment/v1/subscribe REST endpoint and missing output escaping in AnyCommentSubscriptionsTable::column_default(), which returns the stored email verbatim into an HTML <td> when the subscription's user_ID does not resolve to an existing WP_User. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever an administrator accesses the AnyComment → Subscriptions admin page.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ateshabaev / AnyComment | affected 0 through 0.3.6 |
CWE
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ce925d1c-2254-49ea-9fcf-e948813b3f2c?source=cve
- https://plugins.trac.wordpress.org/browser/anycomment/tags/0.3.6/includes/Admin/Tables/AnyCommentSubscriptionsTable.php#L107
- https://plugins.trac.wordpress.org/browser/anycomment/tags/0.3.6/includes/Rest/AnyCommentRestSubscriptions.php#L124
- https://plugins.trac.wordpress.org/browser/anycomment/tags/0.3.6/includes/Rest/AnyCommentRestSubscriptions.php#L59
- https://plugins.trac.wordpress.org/browser/anycomment/tags/0.3.6/includes/Models/AnyCommentSubscriptions.php#L311
ADP enrichment
No English description supplied.
No references supplied.