{"id":"CVE-2024-13586","aliases":["CVE-2024-13586"],"related":[],"kind":"vulnerability","state":"published","title":"Masy Gallery <= 1.7 - Authenticated (Contributor+) Stored Cross-Site Scripting","summary":"The Masy Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'justified-gallery' shortcode in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Masy Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'justified-gallery' shortcode in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","source":"cvelist"},{"lang":"es","text":"El complemento Masy Gallery para WordPress es vulnerable a Cross-Site Scripting Almacenado a través del código abreviado 'justified-gallery' del complemento en todas las versiones hasta la 1.7 y incluida, debido a la falta de entrada desinfección y al escape de salida en los atributos proporcionados por el usuario. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten scripts web arbitraria en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.","source":"nvd"}],"published":"2025-01-25T07:24:17.804Z","modified":"2026-06-17T07:02:18.957Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},{"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"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.7","status":"affected"}],"vendor":"imdr","product":"Masy Gallery","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.7"}],"vendor":"dineshrawat","product":"masy_gallery","cpe":"cpe:2.3:a:dineshrawat:masy_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b865df96-335c-4856-a5e5-e728fb0645d3?source=cve","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/masy-gallery/trunk/inc/masygal-justified-shortcode.php#L33","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Peter Thaleikis"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-27T14:40:05.548Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-13586","url":"https://www.cve.org/CVERecord?id=CVE-2024-13586","licence":"CVE Terms of Use","modified":"2026-04-08T17:17:48.733Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-13586","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-13586","licence":"Public domain","modified":"2026-06-17T07:02:18.957Z"}],"updatedAt":"2026-11-25T22:58:51.227Z","epss":{"score":0.00437,"percentile":0.29859,"date":"2026-11-30T12:00:22.000Z"}}