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

Low 2.1 Published Updated

Attackers can inject malicious JavaScript via unescaped attachment URLs in wpDiscuz comments, executing code in the context of viewing users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-22210?

CVE-2026-22210 is a low-severity cross-site scripting vulnerability in gVectors wpDiscuz, published on 13 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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-79

Which versions are affected by CVE-2026-22210?

It affects 1 product.

Products include Gvectors Wpdiscuz.

How do I fix CVE-2026-22210?

No fix has been published for CVE-2026-22210 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-22210 being exploited?

There is no known exploitation of CVE-2026-22210 in the wild and no public exploit code.

Sources

Also known as GHSA-34jf-g4m6-4f57.

Is CVE-2026-22210 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free