2026-10-30 17:15CVE-2026-9239Wordfence
PUBLISHED5.2CWE-79

Meow Gallery <= 5.5.1 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute)

The Meow Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute) in all versions up to, and including, 5.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerable code path is only reachable when a gallery item is rendered as a link (i.e., link_href is non-empty), and exploitation relies on the fact that WordPress's sanitize_text_field() strips angle-bracketed tags but preserves double quotes, allowing an attacker to break out of the aria-label attribute context and inject event-handler attributes such as onclick.

Problem type

Affected products

tigroumeow

Meow Gallery

<= 5.5.1 - AFFECTED

References

GitHub Security Advisories

GHSA-93vw-w9vm-pp4x

The Meow Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment...

https://github.com/advisories/GHSA-93vw-w9vm-pp4x

The Meow Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute) in all versions up to, and including, 5.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerable code path is only reachable when a gallery item is rendered as a link (i.e., link_href is non-empty), and exploitation relies on the fact that WordPress's sanitize_text_field() strips angle-bracketed tags but preserves double quotes, allowing an attacker to break out of the aria-label attribute context and inject event-handler attributes such as onclick.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-9239
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-9239",
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "dateUpdated": "2026-10-30T18:08:58.980Z",
    "dateReserved": "2026-05-21T18:54:00.426Z",
    "datePublished": "2026-10-30T17:15:26.845Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence",
        "dateUpdated": "2026-10-30T17:15:26.845Z"
      },
      "title": "Meow Gallery <= 5.5.1 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute)",
      "descriptions": [
        {
          "lang": "en",
          "value": "The Meow Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment Alt Text (aria-label attribute) in all versions up to, and including, 5.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerable code path is only reachable when a gallery item is rendered as a link (i.e., link_href is non-empty), and exploitation relies on the fact that WordPress's sanitize_text_field() strips angle-bracketed tags but preserves double quotes, allowing an attacker to break out of the aria-label attribute context and inject event-handler attributes such as onclick."
        }
      ],
      "affected": [
        {
          "vendor": "tigroumeow",
          "product": "Meow Gallery",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "5.5.1"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
              "cweId": "CWE-79",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/49afa739-83f0-4ad7-9e5e-d600f293b938?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.9/classes/core.php#L469"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.9/classes/core.php#L465"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.9/classes/run.php#L12"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.5/classes/core.php#L469"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.5/classes/core.php#L465"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/meow-gallery/tags/5.4.5/classes/run.php#L12"
        },
        {
          "url": "https://plugins.trac.wordpress.org/changeset?old_path=/meow-gallery/tags/5.5.1&new_path=/meow-gallery/tags/5.5.2"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM"
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-05-21T19:12:36.000Z",
          "lang": "en",
          "value": "Vendor Notified"
        },
        {
          "time": "2026-10-30T17:09:57.000Z",
          "lang": "en",
          "value": "Disclosed"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Yat",
          "type": "finder"
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-10-30T18:08:58.980Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}