{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.23.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ddd9dfb865f3a484ea743a1202f8cdf591d14081"
            }
          ],
          "repo": "https://github.com/vanpariyar/wordpress-plugins",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Wordfence",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142462.json"
  },
  "details": "The Wp Post Views – WordPress Post views counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'entry_views' parameter in all versions up to, and including, 1.23.5 due to insufficient input sanitization and output escaping. 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. Because the entry_views meta key is unprotected, a Contributor can write arbitrary HTML into it via WordPress core's wp_ajax_add-meta handler on their own post, then embed the [WPPV-TOTAL-VIEWS] shortcode in the post body — bypassing save-time wp_kses_post filtering, which only sanitizes post content, not post meta.",
  "id": "CVE-2026-142462",
  "modified": "2026-12-05T15:46:07.810881955Z",
  "published": "2026-12-05T08:28:32.059Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142462.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vanpariyar/wordpress-plugins/pull/17/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142462"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L12"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L13"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/changeset/3843843/wp-post-views/trunk/includes/shortcodes.php"
    },
    {
      "type": "WEB",
      "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a8fe1d1a-002f-45b8-a31d-0699269d0349?source=cve"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Wp Post Views \u003c= 1.23.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'entry_views' Post Meta"
}