CVE-2026-22210
published low CVSS 4.0 · 2.1wpDiscuz before 7.6.47 - Cross-Site Scripting via Unescaped Attachment URLs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gVectors | — | wpDiscuz0 to < 7.6.47 (affected · custom) · 7.6.47 (unaffected) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gVectors | wpDiscuz | 0 to < 7.6.47 (affected · custom)7.6.47 (unaffected)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- wpDiscuz https://wordpress.org/plugins/wpdiscuz/
- wpDiscuz Changelog https://wordpress.org/plugins/wpdiscuz/#developers
- VulnCheck Advisory: wpDiscuz before 7.6.47 - Cross-Site Scripting via Unescaped Attachment URLs https://www.vulncheck.com/advisories/wpdiscuz-before-cross-site-scripting-via-unescaped-attachment-urls
Provider assertions
2VulnCheck · cna
wpDiscuz before 7.6.47 - Cross-Site Scripting via Unescaped Attachment URLs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 81c1f5d72bc8625d1d36b7b3d13b631c9ac6dc5e7e1796d5263be924818bdf53
- Ingested
- 23 Sep 2026, 09:05:14 UTC
- Source record
- Official CVE record