{"id":"CVE-2026-74921","revision":"9696a5e7f21d4b5292a3780e159bf16b","records":[{"revision":"9696a5e7f21d4b5292a3780e159bf16b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74921","aliases":[],"title":"Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes","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.","state":0,"publishedAt":"2026-10-19T06:46:15.459+00:00","modifiedAt":"2026-10-19T09:31:21.665+00:00","affected":[{"ecosystem":"https://wordpress.org/plugins","name":"Document Gallery","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Unknown\",\n                    \"product\": \"Document Gallery\",\n                    \"collectionURL\": \"https://wordpress.org/plugins\",\n                    \"defaultStatus\": \"unknown\",\n                    \"versions\": [\n                        {\n                            \"version\": \"4.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"5.1.1\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.8,"severity":"MEDIUM"}],"references":["https://wpscan.com/vulnerability/b0b97661-c671-420c-8fca-22666862b379/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74921","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74921","identifiers":["CVE-2026-74921"]},"retained":false,"historicalAffected":[]}],"coverage":[]}