{"id":"CVE-2022-4058","aliases":["CVE-2022-4058"],"related":[],"kind":"vulnerability","state":"published","title":"Photo Gallery < 1.8.3 - Stored XSS via CSRF","summary":"The Photo Gallery by 10Web WordPress plugin before 1.8.3 does not validate and escape some parameters before outputting them back in in JS code later on in another page, which could lead to Stored XSS issue when an attacker makes a logged in admin open a malicious URL or page under their control.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Photo Gallery by 10Web WordPress plugin before 1.8.3 does not validate and escape some parameters before outputting them back in in JS code later on in another page, which could lead to Stored XSS issue when an attacker makes a logged in admin open a malicious URL or page under their control.","source":"cvelist"},{"lang":"es","text":"El complemento Photo Gallery de 10Web para WordPress anterior a 1.8.3 no valida ni escapa algunos parámetros antes de volver a generarlos en código JS más adelante en otra página, lo que podría provocar un problema de XSS almacenado cuando un atacante hace que un administrador que ha iniciado sesión abra un archivo malicioso, URL o página bajo su control.","source":"nvd"}],"published":"2022-12-19T13:41:43.962Z","modified":"2026-06-17T05:19:52.063Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-352"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.8.3","status":"affected"}],"vendor":"Unknown","product":"Photo Gallery by 10Web","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.8.3"}],"vendor":"10web","product":"photo_gallery","cpe":"cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/89656cb3-4611-4ae7-b7f8-1b22eb75cfc4","tags":["exploit","technical-description","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Krzysztof Zając"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4058","url":"https://www.cve.org/CVERecord?id=CVE-2022-4058","licence":"CVE Terms of Use","modified":"2024-08-03T01:27:54.541Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4058","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4058","licence":"Public domain","modified":"2026-06-17T05:19:52.063Z"}],"updatedAt":"2026-11-25T22:58:17.681Z","epss":{"score":0.00265,"percentile":0.19675,"date":"2026-12-02T12:00:21.000Z"}}