CVE Explorer
CVE-2026-5361
The Envira Gallery Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the REST API in versions up to and including 1.12.4. This is due to insufficient input sanitization in the update_gallery_data() function and improper output escaping in the gallery_init() function. The sanitize_config_values() function only sanitizes the justified_gallery_theme and justified_row_height parameters, but does not sanitize the arrows parameter. When the arrows value is output in the inline
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More","vendor":"smub","versions":[{"lessThanOrEqual":"1.12.4","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/problemTypes/0/descriptions/0
Source references
6 source assertions{"url":"https://plugins.trac.wordpress.org/browser/envira-gallery-lite/tags/1.12.4/includes/global/rest.php#L163"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/envira-gallery-lite/tags/1.12.4/includes/global/shortcode.php#L1067"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/envira-gallery-lite/trunk/includes/global/rest.php#L163"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/envira-gallery-lite/trunk/includes/global/shortcode.php#L1067"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/changeset/3514026/envira-gallery-lite/trunk/includes/global/shortcode.php?old=3465371&old_path=envira-gallery-lite%2Ftrunk%2Fincludes%2Fglobal%2Fshortcode.php"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/references/5
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d2b1e973-f22d-4e69-b3b8-d6ea5df3f047?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:61265f78a84dae6741fd03e4080a6ce8cd98fbee51638b8238c6d02e848e11c3 · sha256:a0a0a52d4f0031ad… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.