CVE-2026-74921
JSON

6.8medium

Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes

Severity
6.8medium CVSS:3.1 by WPScan
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

Description

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.

Affected

Product or packageVersionsReported by
Unknown Document Galleryfrom 4.0 up to 5.1.1CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74921 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-74921 changed 2026-10-19Public domain