{"id":"CVE-2026-74921","aliases":["CVE-2026-74921"],"related":[],"kind":"vulnerability","state":"published","title":"Document Gallery 4.0 - 5.1.1 - Contributor+ Stored XSS via Gallery Shortcode Attributes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-19T06:46:15.459Z","modified":"2026-10-19T21:02:51.987Z","severity":{"scorer":"WPScan","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"WPScan","scheme":"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,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0","lastAffected":"5.1.1","status":"affected"}],"vendor":"Unknown","product":"Document Gallery","source":"cvelist"}],"references":[{"url":"https://wpscan.com/vulnerability/b0b97661-c671-420c-8fca-22666862b379/","tags":["exploit","technical-description","vdb-entry"],"sources":["cvelist","nvd"]}],"credits":["Philipp Doblhofer","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-19T09:26:19.262Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74921","url":"https://www.cve.org/CVERecord?id=CVE-2026-74921","licence":"CVE Terms of Use","modified":"2026-10-19T09:31:21.665Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74921","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74921","licence":"Public domain","modified":"2026-10-19T21:02:51.987Z"}],"updatedAt":"2026-11-25T22:59:45.353Z","epss":{"score":0.00229,"percentile":0.14605,"date":"2026-12-01T12:00:22.000Z"}}