CVE-2025-5092

Source
https://cve.org/CVERecord?id=CVE-2025-5092
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5092.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-5092
Published
2025-11-20T06:38:41.693Z
Modified
2026-08-12T03:51:09.143179367Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Multiple Plugins and Themes <= (Various Versions) - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via lightGallery JavaScript Library
Details

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.

Database specific
{
    "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"
        }
    ]
}
References

Affected packages

Git / github.com/sachinchoolur/lightgallery

Affected ranges

Type
GIT
Repo
https://github.com/sachinchoolur/lightgallery
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.2.1"
        }
    ]
}

Affected versions

1.*
1.0.0
1.1.1
1.1.2
1.1.4
1.1.5
1.1.6
1.10.0
1.2.0
1.2.1
1.2.10
1.2.11
1.2.12
1.2.13
1.2.14
1.2.15
1.2.16
1.2.17
1.2.18
1.2.19
1.2.2
1.2.20
1.2.21
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.8
1.2.9
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.5.0
1.6.0
1.6.1
1.6.10
1.6.11
1.6.12
1.6.13
1.6.14
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
1.6.8
1.6.9
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0
1.8.1
1.8.2
1.8.3
1.9.0
1.9.1-beta-0
2.*
2.0.0
2.0.0-beta.1
2.0.0-beta.3
2.0.1
2.1.0
2.1.0-beta.1
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.2.0
2.2.0-beta.0
2.2.1
v1.*
v1.1.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5092.json"