Multiple plugins and/or themes for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled lightGallery library (<= 2.8.3) in various versions 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.
{
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5092.json",
"cna_assigner": "Wordfence",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "1.0.5"
},
{
"last_affected": "1.1.9"
},
{
"last_affected": "1.2.5.1"
},
{
"last_affected": "1.7.1031"
},
{
"last_affected": "2.3.16"
},
{
"last_affected": "7.8"
},
{
"last_affected": "9.10.5"
}
],
"source": "AFFECTED_FIELD"
}
]
}