What the vulnerability does
01Description
wpDiscuz before 7.6.47 contains a cross-site scripting vulnerability that allows attackers to inject malicious code through unescaped attachment URLs in HTML output by exploiting the WpdiscuzHelperUpload class. Attackers can craft malicious attachment records or filter hooks to inject arbitrary JavaScript into img and anchor tag attributes, executing code in the context of WordPress users viewing comments.
Explanation of Vulnerability in Simple Terms
02Summary
wpDiscuz versions before 7.6.47 contain a cross-site scripting (XSS) vulnerability that allows low-privileged users to inject malicious scripts. The vulnerability requires user interaction and has limited scope, affecting only the integrity of the vulnerable component. Site administrators should update to version 7.6.47 or later to remediate this issue.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers when they interact with the plugin.
Potential impact on your site
04Site Impact
Users may have their sessions compromised or be redirected to malicious sites if they interact with injected content.
Conditions required to exploit
05Prerequisites
Attacker must have low-level user account access and the victim must click a malicious link or visit a crafted page.
Key dates
06Disclosure timeline
March 13, 2026
CVE published
March 13, 2026
Record updated