CVE-2026-22210 Details
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.
A cross-site scripting vulnerability has been identified in wpDiscuz versions prior to 7.6.47. This issue allows attackers to inject malicious code by exploiting unescaped attachment URLs in the HTML output, particularly through the WpdiscuzHelperUpload class. By crafting harmful attachment records or using filter hooks, attackers can embed arbitrary JavaScript into the attributes of image and anchor tags. This injected code is executed in the context of WordPress users who are viewing comments.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://wordpress.org/plugins/wpdiscuz/ | [email protected] | Product |
| https://wordpress.org/plugins/wpdiscuz/#developers | [email protected] | ProductRelease Notes |
| https://www.vulncheck.com/advisories/wpdiscuz-before-cross-site-scripting-via-unescaped-attachment-urls | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gvectors wpdiscuz | < 7.6.47 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 17, 2026 | Initial Analysis | [email protected] |
| Mar 13, 2026 | New CVE Received | [email protected] |