Stored cross-site scripting in Document Gallery WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Document Gallery WordPress plugin, versions 4.0 through 5.1.1, does not sanitise or escape several gallery shortcode attributes before placing them in a single-quoted HTML attribute of the rendered gallery markup. A user with the Contributor role or higher can inject event handlers that run when a higher-privileged user views the content. The CVE is scored 6.8 (MEDIUM) under CVSS 3.1 and classified as CWE-79. CISA has not added it to KEV, its SSVC data lists exploitation as none and not automatable with total technical impact, and the references include an exploit link.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
The Document Gallery WordPress plugin through 5.1.1 does not sanitise or escape several gallery shortcode attributes before embedding them in a single-quoted HTML attribute in the rendered gallery markup, allowing users with the Contributor role and above to inject arbitrary event handlers that execute when a higher privileged user views the content.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Document Gallery | 4.0 – 5.1.1 | — | No fix listed | CNA |
- Document Gallery VendorUnknown Affected 4.0 – 5.1.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Document Gallery.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-19 Threatist record created from CVE-2026-74921
- 2026-10-19 Weakness changed · CISA ADP
- 2026-10-19 CISA SSVC decision points changed
- 2026-10-19 Priority changed: MEDIUM → LOW
- 2026-10-19 Alias added: GHSA-5xmq-vg89-7x44
References
Sources
- CVE-2026-74921 · CVE Program
- CVE-2026-74921 · NVD
- FIRST EPSS
- GHSA-5xmq-vg89-7x44 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences