{"id":"CVE-2026-12982","aliases":["CVE-2026-12982"],"related":[],"kind":"vulnerability","state":"published","title":"Document Gallery < 5.1.1 - Reflected XSS via dg_generate_gallery","summary":"The Document Gallery WordPress plugin before 5.1.1 does not properly sanitise and escape user input before reflecting it back in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against unauthenticated users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Document Gallery WordPress plugin before 5.1.1 does not properly sanitise and escape user input before reflecting it back in the response of an unauthenticated AJAX action, leading to a Reflected Cross-Site Scripting vulnerability which can be exploited against unauthenticated users.","source":"cvelist"}],"published":"2026-07-27T06:00:02.192Z","modified":"2026-07-27T20:33:01.673Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.1.1","status":"affected"}],"vendor":"Unknown","product":"Document Gallery","source":"cvelist"}],"references":[{"url":"https://wpscan.com/vulnerability/a3c279ce-5db1-4331-ad74-4eef49619737/","tags":["exploit","technical-description","vdb-entry"],"sources":["cvelist","nvd"]}],"credits":["João Ramos Maciel","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-27T14:12:17.761Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12982","url":"https://www.cve.org/CVERecord?id=CVE-2026-12982","licence":"CVE Terms of Use","modified":"2026-07-27T14:12:50.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12982","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12982","licence":"Public domain","modified":"2026-07-27T20:33:01.673Z"}],"updatedAt":"2026-11-25T22:59:30.168Z","epss":{"score":0.00162,"percentile":0.05627,"date":"2026-12-01T12:00:22.000Z"}}