What’s Vulnerable › Vulnerabilities

CVE-2026-22210: wpDiscuz before 7.6.47 - Cross-Site Scripting via Unescaped Attachment URLs

Description

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.

Affected products

How to fix

Upgrade to a fixed version: gVectors wpDiscuz 7.6.47. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-22210 or the next vulnerability affects your stack