CVE-2026-62387: Grav < 1.0.0-rc.16 CORS Misconfiguration via API Plugin

Published Jul 17, 2026
·
Updated

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.0-rc.16 shipped Access-Control-Allow-Origin: as its default CORS configuration on all responses, including authenticated endpoints and preflight (OPTIONS) responses. Because the plugin accepts credentials via the Authorization and X-API-Token headers (set programmatically by JavaScript rather than via cookies), an attacker who obtains a valid access token (e.g., via log leakage, Referer headers, browser history, or network capture) can issue fully authenticated cross-origin requests from any malicious website to read sensitive data and perform write operations as the token's user. Fixed in 1.0.0-rc.16.

Affected Software

1 affected component
Grav Grav API plugin (getgrav/grav-plugin-api)<1.0.0-rc.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade getgrav/grav-plugin-api to a version that resolves this vulnerability.

    Fixed in 1.0.0-rc.16
  2. Configuration

    Ensure Access-Control-Allow-Origin is not set to "*" for authenticated endpoints and preflight (OPTIONS) responses; use the fixed plugin version to eliminate the default wildcard CORS behavior.

    Grav API plugin (getgrav/grav-plugin-api) Access-Control-Allow-Origin = *

Event History

Jul 17, 2026
CVE Published
via MITRE·12:07 AM
Data Sourced
via MITRE·12:07 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:18 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-62387?

The severity of CVE-2026-62387 is classified as high with a score of 7.1.

2

How do I fix CVE-2026-62387?

To fix CVE-2026-62387, upgrade the Grav API plugin to version 1.0.0-rc.16 or later.

3

What does CVE-2026-62387 affect?

CVE-2026-62387 affects the Grav API plugin prior to version 1.0.0-rc.16.

4

What vulnerabilities does CVE-2026-62387 introduce?

CVE-2026-62387 introduces a CORS misconfiguration that may allow unauthorized access to authenticated endpoints.

5

What is the default CORS configuration for CVE-2026-62387?

The default CORS configuration for CVE-2026-62387 allows all origins by using Access-Control-Allow-Origin: *.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203