4.4Medium

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

gVectors wpDiscuz Published: (8 months ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
gVectors wpDiscuz < 7.6.47, fixed 7.6.47

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:gvectors:wpdiscuz:*:*:*:*:*:wordpress:*:* < 7.6.47