The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-5692

CVE-2023-5692: WordPress Core Info Disclosure Flaw

CVE-2023-5692 is an information disclosure vulnerability in WordPress Core that allows unauthenticated attackers to expose hidden post slugs. This article covers the technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-5692 Overview

WordPress Core is vulnerable to Sensitive Information Exposure in versions up to, and including, 6.4.3 via the redirect_guess_404_permalink function. This vulnerability allows unauthenticated attackers to expose the slug of a custom post whose publicly_queryable post status has been set to false, potentially revealing information that site administrators intended to keep private.

Critical Impact

Unauthenticated attackers can discover hidden post slugs for custom post types that were intentionally configured to be non-public, potentially exposing sensitive content identifiers or internal naming conventions.

Affected Products

  • WordPress Core versions up to and including 6.4.3
  • All WordPress installations using custom post types with publicly_queryable set to false
  • Sites relying on post slug obscurity as a security measure

Discovery Timeline

  • April 5, 2024 - CVE-2023-5692 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-5692

Vulnerability Analysis

This information disclosure vulnerability resides in WordPress Core's canonical URL handling mechanism, specifically within the redirect_guess_404_permalink function located in wp-includes/canonical.php. The function is designed to intelligently redirect users who visit non-existent URLs by attempting to guess the intended destination based on partial slug matches.

The vulnerability occurs because the function fails to properly verify whether a matched post type should be publicly accessible before attempting a redirect. When a user requests a URL that partially matches a custom post slug—even one marked as non-public—the function may inadvertently reveal the existence and complete slug of that hidden content through its redirect behavior.

This flaw undermines the expected privacy controls for custom post types, as administrators who set publicly_queryable to false would reasonably expect those post slugs to remain undiscoverable through normal browsing or enumeration techniques.

Root Cause

The root cause lies in insufficient access control checks within the redirect_guess_404_permalink function. Prior to the security fix, the function would query and potentially expose posts without first calling is_post_publicly_viewable() or is_post_type_viewable() to validate that the matched content should be accessible to the requesting user.

The vulnerable code path in canonical.php at line 763 would process the redirect guess logic without considering the post type's visibility settings, treating all matched posts equally regardless of their configured access restrictions.

Attack Vector

The attack can be executed remotely over the network without requiring any authentication or user interaction. An attacker can exploit this vulnerability by sending crafted HTTP requests with partial URL slugs to a WordPress installation. If the server responds with a redirect to the complete URL of a non-public post, the attacker learns the full slug of content that should be hidden.

This attack method is particularly effective for enumeration, where attackers systematically probe a WordPress site with common words or patterns to discover hidden content. The information gained could facilitate further attacks, expose confidential project names, reveal unpublished content identifiers, or provide reconnaissance data for targeted social engineering.

Detection Methods for CVE-2023-5692

Indicators of Compromise

  • Unusual patterns of 404 requests followed by redirects to custom post type URLs
  • High volume of requests probing URL patterns with common words or dictionary terms
  • Access logs showing systematic enumeration of potential post slug patterns
  • Successful redirects to URLs that should not be publicly accessible

Detection Strategies

  • Monitor web server access logs for abnormal 404 redirect patterns targeting custom post type URLs
  • Implement rate limiting on 404 responses to mitigate enumeration attacks
  • Use WordPress security plugins that can detect and alert on potential slug enumeration attempts
  • Review redirect responses in server logs for any exposure of non-public post type slugs

Monitoring Recommendations

  • Enable detailed logging of HTTP redirects and their destination URLs
  • Set up alerts for high-frequency 404 errors from single IP addresses
  • Audit custom post type configurations to identify which content relies on slug obscurity
  • Regularly review access patterns to sensitive URL paths in your WordPress installation

How to Mitigate CVE-2023-5692

Immediate Actions Required

  • Update WordPress Core to version 6.4.4 or later immediately
  • Review all custom post types and their publicly_queryable settings
  • Audit access logs for potential exploitation attempts prior to patching
  • Consider implementing additional access controls beyond relying on post slug obscurity

Patch Information

WordPress addressed this vulnerability in Changeset 57645, which adds proper visibility checks using the is_post_publicly_viewable() and is_post_type_viewable() functions before processing redirect guesses. The patch ensures that the redirect_guess_404_permalink function respects the publicly_queryable setting for custom post types.

For detailed information about the updated functions, see the WordPress developer documentation for is_post_publicly_viewable() and is_post_type_viewable().

Additional vulnerability details are available in the Wordfence Vulnerability Report.

Workarounds

  • Disable the 404 redirect guessing functionality by adding a filter to short-circuit redirect_guess_404_permalink
  • Implement proper authentication requirements for sensitive custom post types rather than relying on slug obscurity
  • Use security plugins that provide additional access control layers for custom post types
  • Consider using randomized or cryptographic slugs for sensitive content that must remain unpublished
php
// Disable 404 redirect guessing as a temporary workaround
add_filter('do_redirect_guess_404_permalink', '__return_false');

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.85%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • WordPress Changeset 57645

  • WordPress Function Reference

  • WordPress Function Reference

  • GitHub Code Reference

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-1797: Truebooker WordPress Information Disclosure

  • CVE-2026-3831: WordPress Forms Plugin Data Vulnerability

  • CVE-2026-2696: Export All URLs WordPress Info Disclosure

  • CVE-2026-2343: Ultimate Invoice Plugin Info Disclosure
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English