Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for Lightbox with PhotoSwipe by awelzel

    CVE-2026-135654 (GCVE-0-2026-135654)

    Vulnerability from nvd – Published: 2026-11-26 14:36 – Updated: 2026-11-26 14:36
    VLAI
    Title
    Lightbox with PhotoSwipe <= 5.18.0 - Unauthenticated Stored Cross-Site Scripting via Comment Link 'title' Attribute
    Summary
    The Lightbox with PhotoSwipe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 5.18.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires an administrator to approve the attacker's comment at least once, which is the default WordPress behavior for first-time commenters; after that initial approval, no further administrative action is needed and the payload fires for any visitor who opens the lightbox on the affected post.
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation
    Assigner
    Wordfence CNA under the mitre root
    CNA scorecard C 65/100 over 2644 records in the last 180 days details
    Impacted products
    Vendor Product Version
    awelzel Lightbox with PhotoSwipe Affected: 0 , ≤ 5.18.0 (semver)
    Create a notification for this product.
    Credits
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Lightbox with PhotoSwipe",
              "vendor": "awelzel",
              "versions": [
                {
                  "lessThanOrEqual": "5.18.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Santh"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The Lightbox with PhotoSwipe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u0027comment\u0027 parameter in all versions up to, and including, 5.18.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires an administrator to approve the attacker\u0027s comment at least once, which is the default WordPress behavior for first-time commenters; after that initial approval, no further administrative action is needed and the payload fires for any visitor who opens the lightbox on the affected post."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.2,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-26T14:36:08.688Z",
            "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
            "shortName": "Wordfence"
          },
          "references": [
            {
              "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/96543e4a-174f-4a97-af81-66f7ff0848ba?source=cve"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php#L700"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/assets/ps5/dynamic-caption/photoswipe-dynamic-caption-plugin.esm.js#L247"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/assets/ps5/frontend.js#L126"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/assets/ps5/frontend.js#L206"
            },
            {
              "url": "https://codeberg.org/askaaron/lightbox-photoswipe/commit/fc2711dc1249f406e9b06b38d2c6d398f7a65b3b#diff-7ae795295766dd4e11418cfc268b53e6b42311e0"
            },
            {
              "url": "https://plugins.trac.wordpress.org/changeset/3795514/lightbox-photoswipe/trunk/assets/ps5/frontend.js"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-24T11:09:08.000Z",
              "value": "Vendor Notified"
            },
            {
              "lang": "en",
              "time": "2026-11-26T02:26:46.000Z",
              "value": "Disclosed"
            }
          ],
          "title": "Lightbox with PhotoSwipe \u003c= 5.18.0 - Unauthenticated Stored Cross-Site Scripting via Comment Link \u0027title\u0027 Attribute"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "assignerShortName": "Wordfence",
        "cveId": "CVE-2026-135654",
        "datePublished": "2026-11-26T14:36:08.688Z",
        "dateReserved": "2026-11-23T22:14:40.598Z",
        "dateUpdated": "2026-11-26T14:36:08.688Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-135654 (GCVE-0-2026-135654)

    Vulnerability from cvelistv5 – Published: 2026-11-26 14:36 – Updated: 2026-11-26 14:36
    VLAI
    Title
    Lightbox with PhotoSwipe <= 5.18.0 - Unauthenticated Stored Cross-Site Scripting via Comment Link 'title' Attribute
    Summary
    The Lightbox with PhotoSwipe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 5.18.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires an administrator to approve the attacker's comment at least once, which is the default WordPress behavior for first-time commenters; after that initial approval, no further administrative action is needed and the payload fires for any visitor who opens the lightbox on the affected post.
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation
    Assigner
    Wordfence CNA under the mitre root
    CNA scorecard C 65/100 over 2644 records in the last 180 days details
    Impacted products
    Vendor Product Version
    awelzel Lightbox with PhotoSwipe Affected: 0 , ≤ 5.18.0 (semver)
    Create a notification for this product.
    Credits
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Lightbox with PhotoSwipe",
              "vendor": "awelzel",
              "versions": [
                {
                  "lessThanOrEqual": "5.18.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Santh"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The Lightbox with PhotoSwipe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u0027comment\u0027 parameter in all versions up to, and including, 5.18.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires an administrator to approve the attacker\u0027s comment at least once, which is the default WordPress behavior for first-time commenters; after that initial approval, no further administrative action is needed and the payload fires for any visitor who opens the lightbox on the affected post."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.2,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-26T14:36:08.688Z",
            "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
            "shortName": "Wordfence"
          },
          "references": [
            {
              "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/96543e4a-174f-4a97-af81-66f7ff0848ba?source=cve"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php#L700"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/assets/ps5/dynamic-caption/photoswipe-dynamic-caption-plugin.esm.js#L247"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/assets/ps5/frontend.js#L126"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/lightbox-photoswipe/tags/5.17.0/assets/ps5/frontend.js#L206"
            },
            {
              "url": "https://codeberg.org/askaaron/lightbox-photoswipe/commit/fc2711dc1249f406e9b06b38d2c6d398f7a65b3b#diff-7ae795295766dd4e11418cfc268b53e6b42311e0"
            },
            {
              "url": "https://plugins.trac.wordpress.org/changeset/3795514/lightbox-photoswipe/trunk/assets/ps5/frontend.js"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-24T11:09:08.000Z",
              "value": "Vendor Notified"
            },
            {
              "lang": "en",
              "time": "2026-11-26T02:26:46.000Z",
              "value": "Disclosed"
            }
          ],
          "title": "Lightbox with PhotoSwipe \u003c= 5.18.0 - Unauthenticated Stored Cross-Site Scripting via Comment Link \u0027title\u0027 Attribute"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "assignerShortName": "Wordfence",
        "cveId": "CVE-2026-135654",
        "datePublished": "2026-11-26T14:36:08.688Z",
        "dateReserved": "2026-11-23T22:14:40.598Z",
        "dateUpdated": "2026-11-26T14:36:08.688Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }