CWE
472
Advisory Published
Updated

GHSA-7vrx-9684-xrf2

First published: Thu May 08 2025(Updated: )

Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. Craft CMS redirects requests that require authentication to the login page and generates a session file on the server at `/var/lib/php/sessions`. Such session files are named `sess_[session_value]`, where `[session_value]` is provided to the client in a `Set-Cookie` response header. Craft CMS stores the return URL requested by the client without sanitizing parameters. Consequently, an unauthenticated client can introduce arbitrary values, such as PHP code, to a known local file location on the server. Craft CMS versions 5.7.5 and 4.15.3 have been released to address this issue.

Affected SoftwareAffected VersionHow to fix
composer/craftcms/cms<4.15.3
4.15.3
composer/craftcms/cms>=5.0.0-alpha.1<5.7.5
5.7.5

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 GHSA-7vrx-9684-xrf2?

    GHSA-7vrx-9684-xrf2 is classified as a moderate severity vulnerability that can be exploited to access and execute arbitrary content.

  • How do I fix GHSA-7vrx-9684-xrf2?

    To fix GHSA-7vrx-9684-xrf2, update Craft CMS to version 4.15.3 or 5.7.5 or later.

  • What systems are affected by GHSA-7vrx-9684-xrf2?

    GHSA-7vrx-9684-xrf2 affects Craft CMS versions prior to 4.15.3 and from 5.0.0-alpha.1 to 5.7.5.

  • Can unauthenticated users exploit GHSA-7vrx-9684-xrf2?

    Yes, unauthenticated users can provide arbitrary content that could lead to exploitation of GHSA-7vrx-9684-xrf2.

  • What are the risks of not addressing GHSA-7vrx-9684-xrf2?

    Failing to address GHSA-7vrx-9684-xrf2 opens the door to potential unauthorized access and execution of malicious content.

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