Description
The WP Discourse plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 2.5.9. This is due to the plugin unconditionally sending Discourse API credentials (Api-Key and Api-Username headers) to any host specified in a post's discourse_permalink custom field during comment synchronization. This makes it possible for authenticated attackers, with author-level access and above, to exfiltrate sensitive Discourse API credentials to attacker-controlled servers, as well as query internal services and potentially perform further attacks.
References5
- plugins.trac.wordpress.org/browser/wp-discourse/tags/2.5.9/lib/…
- plugins.trac.wordpress.org/browser/wp-discourse/tags/2.5.9/lib/…
- plugins.trac.wordpress.org/browser/wp-discourse/tags/2.5.9/lib/…
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&repo…
- www.wordfence.com/threat-intel/vulnerabilities/id/6b1524f3-1c59…
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 19 · as of 10 November 2026
- CWE
- CWE-200
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.