Local File Inclusion Vulnerability in Winter CMS's Asset Management System

winter/wn-system-module Updated 21 Aug 2026

Summary

20/08/2026
MODERATE
Yes i
Moderate
4.9

GHSA-2223-f22x-24cq: Winter: Local File Inclusion through =include directives in JavaScript asset compilation. Affects winter/wn-system-module versions < 1.2.13. Fixed in 1.2.13. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Winter CMS is an open-source content management system built on the Laravel framework, designed for developers to create and manage websites efficiently. It provides a range of features, including asset management for images, JavaScript files, and CSS files. However, a vulnerability has been identified in the asset management system that allows authenticated users to exploit file inclusion directives, potentially leading to unauthorized access to sensitive files on the server.

Vulnerability Detail

The vulnerability arises from the improper handling of '=include' and '=require' directives in JavaScript assets. Authenticated users with the 'cms.manage_assets' permission can craft directives that reference files outside the intended directory structure. This allows them to disclose sensitive files, such as the application’s .env file, which contains critical configuration details like database credentials. The vulnerability is exacerbated by the fact that the combined output of these assets is served without authentication checks, making it accessible to unauthenticated visitors.

How To Fix

Minimum fixed version

1.2.13

This is the first release that contains the fix.

composer require winter/wn-system-module:1.2.13

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If you cannot upgrade immediately, you can manually apply the following changes to mitigate the risk: 1. Remove the 'cms.manage_assets' permission from any role that is not held by trusted administrators or developers. 2. Audit existing theme JavaScript assets for any '=include' or '=require' directives that resolve outside the theme's asset directory.

Conclusion

The Local File Inclusion vulnerability in Winter CMS's asset management system poses a significant risk to applications that allow certain user permissions. It is crucial to update to the latest version or apply the recommended workarounds to mitigate potential exploitation. Regular audits and monitoring using tools like Vulert can help maintain the security of your application.

See every vulnerability recorded for winter/wn-system-module →

Share this vulnerability

FAQ

The vulnerability allows authenticated users to include arbitrary files on the server by exploiting the asset management system's handling of JavaScript directives.

Any instance of Winter CMS that allows authenticated users with the 'cms.manage_assets' permission is potentially affected.

An attacker could disclose sensitive information, such as database credentials and application configuration details, by accessing files like the .env file.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 4.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for winter/wn-system-module.

How To Fix

Minimum fixed version

1.2.13

This is the first release that contains the fix.

composer require winter/wn-system-module:1.2.13

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback