CWE
639
Advisory Published
Updated

CVE-2021-24840: Squaretype Modern Blog < 3.0.4 - Unauthenticated Private/Schedule Posts Disclosure

First published: Mon Nov 08 2021(Updated: )

The Squaretype WordPress theme before 3.0.4 allows unauthenticated users to manipulate the query_vars used to retrieve the posts to display in one of its REST endpoint, without any validation. As a result, private and scheduled posts could be retrieved via a crafted request.

Credit: contact@wpscan.com

Affected SoftwareAffected VersionHow to fix
Codesupply Squaretype<3.0.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-24840?

    CVE-2021-24840 is considered a high severity vulnerability due to its potential to expose private and scheduled posts.

  • How do I fix CVE-2021-24840?

    To fix CVE-2021-24840, update the Squaretype WordPress theme to version 3.0.4 or later.

  • What type of vulnerability is CVE-2021-24840?

    CVE-2021-24840 is a security vulnerability that allows unauthenticated users to exploit REST endpoints.

  • Who is affected by CVE-2021-24840?

    CVE-2021-24840 affects users of the Squaretype WordPress theme versions prior to 3.0.4.

  • What can attackers do with CVE-2021-24840?

    Attackers can retrieve private and scheduled posts by manipulating query_vars in REST API requests due to a lack of validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203