{"id":"CVE-2026-74921","published":"2026-10-19T06:46:15Z","modified":"2026-10-19T09:31:21Z","title":"Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes","vendor":null,"product":"Document Gallery","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00229,"percentile":0.13934,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://wpscan.com/vulnerability/b0b97661-c671-420c-8fca-22666862b379/","tags":["exploit","vdb-entry","technical-description"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":2.79},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.76}]},"affectedVersions":[{"vendor":"Unknown","product":"Document Gallery","versions":[">= 4.0, <= 5.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-19T09:26:19.262940Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-104098","exploited":false,"provenance":"source"},"exploitRefs":["https://wpscan.com/vulnerability/b0b97661-c671-420c-8fca-22666862b379/"]}