WP ImageViewer <= 3.0.2 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via Image 'alt' Attribute
Summary
| CVE | CVE-2026-122059 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-07 12:17:45 UTC |
| Updated | 2026-11-07 12:17:45 UTC |
| Description | The WP ImageViewer plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'img.alt' parameter in all versions up to, and including, 3.0.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires a front-end content plugin such as bbPress to be active, as it grants Subscriber-level users the bbp_participant capability needed to publish image-bearing content containing the encoded payload. Exploitation by attackers with contributor-level access and above requires that the site allows Contributors (or higher) to submit image HTML in post content — the WordPress default. On a default installation, where that is not configured, the vulnerability requires attackers with custom-level access and above. |
Risk And Classification
Primary CVSS: v3.1 6.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mpol | WP ImageViewer | affected 3.0.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/wp-imageviewer/tags/3.0.2/wp-imageviewer-init.js | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wp-imageviewer/tags/3.0.2/wp-imageviewer-init.js | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wp-imageviewer/tags/3.0.2/wp-imageviewer-init.js | [email protected] | plugins.trac.wordpress.org | |
| codeberg.org/cyclotouriste/wp-imageviewer/commit/44601a13af7f7874c62c98956... | [email protected] | codeberg.org | |
| plugins.trac.wordpress.org/browser/wp-imageviewer/tags/3.0.3/wp-imageviewer-init.js | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/2d3f78b4-04c7-4978-919f-997b3... | [email protected] | www.wordfence.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Adrien Brunner (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-04T21:08:37.000Z | Vendor Notified |
| CNA | 2026-11-06T21:45:04.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.