Refine your search

1 vulnerability found for Ad Short by nocaredev

CVE-2026-4067 (GCVE-0-2026-4067)
Vulnerability from cvelistv5
Published
2026-03-21 03:26
Modified
2026-04-08 16:45
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Summary
The Ad Short plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ad' shortcode's 'client' attribute in all versions up to and including 2.0.1. This is due to insufficient input sanitization and output escaping on the 'client' shortcode attribute. The ad_func() shortcode handler at line 71 accepts a 'client' attribute via shortcode_atts() and directly concatenates it into a double-quoted HTML attribute (data-ad-client) at line 130 without applying esc_attr() or any other sanitization. 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.
Impacted products
Vendor Product Version
nocaredev Ad Short Version: 0    2.0.1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-4067",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-03-24T13:45:26.747912Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-03-24T13:46:48.188Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Ad Short",
          "vendor": "nocaredev",
          "versions": [
            {
              "lessThanOrEqual": "2.0.1",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "zakaria"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "The Ad Short plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u0027ad\u0027 shortcode\u0027s \u0027client\u0027 attribute in all versions up to and including 2.0.1. This is due to insufficient input sanitization and output escaping on the \u0027client\u0027 shortcode attribute. The ad_func() shortcode handler at line 71 accepts a \u0027client\u0027 attribute via shortcode_atts() and directly concatenates it into a double-quoted HTML attribute (data-ad-client) at line 130 without applying esc_attr() or any other sanitization. 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "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"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-08T16:45:03.764Z",
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence"
      },
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/313d2749-7662-4870-b0f7-19253797f833?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/ad-short/trunk/ad_short.php#L130"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/ad-short/tags/2.0.1/ad_short.php#L130"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/ad-short/trunk/ad_short.php#L77"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/ad-short/tags/2.0.1/ad_short.php#L77"
        }
      ],
      "timeline": [
        {
          "lang": "en",
          "time": "2026-03-20T15:06:38.000Z",
          "value": "Disclosed"
        }
      ],
      "title": "Ad Short \u003c= 2.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via \u0027client\u0027 Shortcode Attribute"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "cveId": "CVE-2026-4067",
    "datePublished": "2026-03-21T03:26:39.328Z",
    "dateReserved": "2026-03-12T19:36:12.454Z",
    "dateUpdated": "2026-04-08T16:45:03.764Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}