Skip to content
Heist/ feed
Back to feed
Medium

Custom Permalinks <= 2.6.0 - Authenticated(Editor+) Stored Cross-Site Scripting

Type: advisorySources: OSV

The Custom Permalinks plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.6.0 due to insufficient input sanitization and output escaping on tag names. This allows authenticated users, with editor-level permissions or greater to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, even when 'unfiltered_html' has been disabled.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-0926
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:56 UTC · Revision 1

Source evidence

Custom Permalinks <= 2.6.0 - Authenticated(Editor+) Stored Cross-Site Scripting

core-osv · Original source

Published 24 Aug 2024, 02:02 UTC

The Custom Permalinks plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.6.0 due to insufficient input sanitization and output escaping on tag names. This allows authenticated users, with editor-level permissions or greater to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, even when 'unfiltered_html' has been disabled.

osv:CVE-2023-0926
Complete source record
{
  "id": "234f7e7d0aaade986b608e2f12b2bfd987a01e325f070ec8af0f91498cafe80d",
  "url": "https://osv.dev/vulnerability/CVE-2023-0926",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Custom Permalinks <= 2.6.0 - Authenticated(Editor+) Stored Cross-Site Scripting",
    "summary": "The Custom Permalinks plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.6.0 due to insufficient input sanitization and output escaping on tag names. This allows authenticated users, with editor-level permissions or greater to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, even when 'unfiltered_html' has been disabled.",
    "evidence": "osv:CVE-2023-0926",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-0926",
      "aliases": [
        "CVE-2023-0926"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/samiahmedsiddiqui/custom-permalinks",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0b0f81431a6c8ea90923f6d4533df99afc00cdf7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.6.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:samiahmedsiddiqui:custom_permalinks:*:*:*:*:*:wordpress:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.7.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.6.0",
            "v2.5.2",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-alpha.2",
            "v2.0.0-alpha.1",
            "v2.0.0-alpha",
            "v1.7.1",
            "v1.7.0",
            "v1.6.3-alpha",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.6.0-beta4",
            "v1.6.0-beta3",
            "v1.6.0-beta2",
            "v1.6.0-beta",
            "v1.6.0-alpha",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.24",
            "v1.2.23",
            "v1.2.22",
            "v1.2.21-pre",
            "v1.2.21",
            "v1.2.20",
            "v1.2.19",
            "v1.2.18",
            "v1.2.17",
            "v1.2.16",
            "v1.2.15",
            "v1.2.14",
            "v1.2.13",
            "v1.2.12",
            "v1.2.11",
            "v1.2.10",
            "v1.2.9",
            "v1.2.8",
            "v1.2.7",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2",
            "v1.1",
            "v1.0.2",
            "v1.0.1",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9",
            "v0.8",
            "v0.7.28"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0926.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.791257377Z",
      "provider": "osv",
      "references": [
        "https://plugins.trac.wordpress.org/changeset/3138206/custom-permalinks/trunk/admin/class-custom-permalinks-post-types-table.php",
        "https://plugins.trac.wordpress.org/changeset/3138206/custom-permalinks/trunk/admin/class-custom-permalinks-taxonomies-table.php",
        "https://wordpress.org/plugins/custom-permalinks/",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/97f8549a-292d-4a6d-8ec0-550467e5cf0f?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0926.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-0926",
        "https://github.com/samiahmedsiddiqui/custom-permalinks/pull/96"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Wordfence",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0926.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-0926",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513652,
  "published_at": "2024-08-24T02:02:32.778+00:00"
}