CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-7MPF-4465-7FC2

GHSA-7mpf-4465-7fc2: Stored Cross-Site Scripting in Winter CMS Backend List Widget

Amit Schendel
Amit Schendel
Senior Security Researcher

Aug 21, 2026·5 min read·9 visits

Executive Summary (TL;DR)

Unescaped HTML attribute interpolation in Winter CMS Backend List image columns allows stored XSS via crafted image URLs.

A Stored Cross-Site Scripting (XSS) vulnerability exists in the Backend List widget of Winter CMS (winter/wn-backend-module). When a list column is configured with the 'image' type and displays attacker-controlled input, the lack of sanitization in the image URL allows injection of arbitrary HTML attributes, potentially executing malicious scripts in the session of administrators viewing the list.

Vulnerability Overview

The vulnerability designated as GHSA-7mpf-4465-7fc2 describes a Stored Cross-Site Scripting (XSS) flaw in the backend modules of Winter CMS, specifically affecting the winter/wn-backend-module package.

This vulnerability is rooted in the List widget (Backend\Widgets\Lists), which is responsible for rendering administrative records in a tabular format. The system allows developers to specify various column types, including text, number, and image.

While the core installation of Winter CMS does not configure any list columns to use the image type by default, third-party plugins and custom modules frequently employ this feature. When a list column is configured as an image type, it renders dynamic database content into the final HTML output. If this content is influenced by a malicious actor, it introduces an input vector for client-side injection attacks.

Root Cause Analysis

The technical origin of the flaw lies in how the evalImageTypeValue method within the Backend\Widgets\Lists class interpolates URL strings.

The application constructs the source HTML element by concatenating the image URL directly into single quotes within the src attribute. This variable interpolation is executed without any escaping context, making it vulnerable to attribute breakout.

The vulnerability is compounded by the behavior of ImageResizer::filterGetUrl(). When this helper function receives an external or unresolvable URL string, it returns the input value verbatim as a fallback. Consequently, any string submitted by an attacker is passed directly to the HTML template generation routine.

Furthermore, developers frequently assume standard URL validation is sufficient to prevent payload injection. However, standard validation routines like PHP's native FILTER_VALIDATE_URL do not strip quotes or forward slashes. An attacker can construct a payload that satisfies standard URL formatting constraints while retaining the syntax required to break out of single quotes when parsed by modern web browsers.

Code Analysis & Patch Deep Dive

To understand the exact mechanics, we must examine the difference between the vulnerable code path and the implemented security patch in the file modules/backend/widgets/Lists.php.

Prior to the patch, the evalImageTypeValue function executed string interpolation directly without context-aware encoding:

if ($image) {
    $imageUrl = ImageResizer::filterGetUrl($image, $width, $height, $options);
    return "<img src='$imageUrl' width='$width' height='$height' />";
}

Because the $imageUrl value is wrapped in single quotes, an attacker who injects a single quote followed by an event handler can rewrite the DOM element's structure. The patch introduced by the Winter CMS core team addresses this by using the e() helper function, which translates to htmlspecialchars with ENT_QUOTES configured:

if ($image) {
    // filterGetUrl() returns the value it was given when the image cannot be
    // resolved, so the result may still be the record's raw value.
    $imageUrl = ImageResizer::filterGetUrl($image, $width, $height, $options);
 
    return sprintf(
        "<img src='%s' width='%s' height='%s' />",
        e($imageUrl),
        e($width),
        e($height)
    );
}

This remediation ensures that single quotes, double quotes, and other special HTML characters are systematically converted to their corresponding safe HTML entities. Consequently, any injected quotes are rendered as plain text within the attribute boundary rather than being interpreted by the browser parser as an attribute delimiter.

Attack Methodology & Exploit Mechanics

An attacker seeking to exploit this vulnerability must identify a model field mapped to an image list column that accepts external input.

A typical proof-of-concept payload targets the src attribute boundary using single quotes and the forward slash character:

http://example.com/a.jpg'/onerror='window.pwned=1

When processed by the unpatched system, this payload results in the following malformed HTML element being generated:

<img src='http://example.com/a.jpg'/onerror='window.pwned=1' width='100' height='100' />

During DOM parsing, the browser encounters the single quote after a.jpg, which terminates the src attribute. The forward slash acts as a structural separator, and the browser registers onerror as a new event handler attribute. Because the image URL points to a non-existent asset, the browser fires the error event, immediately executing the JavaScript payload within the security context of the active user session.

Impact Assessment

The overall impact of this stored XSS vulnerability is governed by the access level of the administrative users viewing the affected list view.

While the CVSS 3.1 base score is 2.0 (Low), the concrete consequences in a production environment can be significant if an administrator session is hijacked. Since the payload executes within the backend administrator interface, an attacker could potentially perform administrative operations, alter configuration settings, or exfiltrate sensitive backend data.

The vector requirements demand high privileges (PR:H) to write the malicious payload into the database, or an application structure that exposes writing capabilities to low-privilege or unauthenticated users. The attack complexity is high (AC:H) because it requires specific backend plugin configurations that are not present in a default out-of-the-box installation of Winter CMS.

Due to these constraints, the vulnerability has not been observed in active exploitation campaigns, and no weaponized public exploits are known to exist.

Remediation & Defensive Strategies

The recommended action to eliminate this vulnerability is upgrading the winter/wn-backend-module package to version 1.2.14 or later.

For systems where an immediate upgrade is not possible, security administrators can manually patch the file modules/backend/widgets/Lists.php using the e() helper as demonstrated in the patch analysis section. This mitigation must be applied across all active environments to prevent exploitation attempts.

Additionally, input validation routines should be reinforced. Although URL validation alone is insufficient to prevent XSS breakout, applying strict sanitization to stored values that are rendered within administrative widgets is a crucial layer of defense.

Security teams can audit existing databases for anomalies by executing queries targeting single quotes within columns used by backend image lists. This proactive measure helps identify historical payloads or potential injection attempts.

Official Patches

Winter CMSCore fix applying e() helper to imageUrl in Lists widget

Fix Analysis (1)

Technical Appendix

CVSS Score
2.0/ 10
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N

Affected Systems

Winter CMS Backend Module

Affected Versions Detail

Product
Affected Versions
Fixed Version
winter/wn-backend-module
Winter CMS
>= 1.1.0, < 1.2.141.2.14
AttributeDetail
CWE IDCWE-79
Attack VectorNetwork (AV:N)
CVSS v3.12.0 (Low)
ImpactLow (Integrity Loss only)
Exploit StatusProof-of-Concept Available
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1059.007Command and Scripting Interpreter: JavaScript
Execution
T1189Drive-by Compromise
Initial Access
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The software does not neutralize or incorrectly neutralizes user-controlled input before it is placed in output that is used as a web page that is served to other users.

Known Exploits & Detection

GitHub Security AdvisoryAdvisory documenting the verified regression testing payload.

Vulnerability Timeline

Vulnerability patched in master branch of winter/wn-backend-module.
2023-11-20
Winter CMS release v1.2.14 made available with official patch.
2023-11-20
GitHub Security Advisory GHSA-7mpf-4465-7fc2 published.
2023-11-20

References & Sources

  • [1]GitHub Advisory Database Entry
  • [2]Winter CMS Security Advisory
  • [3]Fix Commit
  • [4]Winter CMS v1.2.14 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-120778
7.3

CVE-2026-120778: Local Elevation of Privilege via Insecure Temporary Directory Handling and MSBuild Response File Hijacking in Microsoft .NET Aspire CLI

A local elevation of privilege vulnerability exists in the Microsoft .NET Aspire CLI (`Aspire.Cli`) versions 13.5.4 prior to 13.6.5. When executing SDK management commands (`aspire sdk generate`, `aspire sdk dump`, and `aspire sdk export`), the CLI creates temporary project directories inside the shared operating system temporary folder (such as `/tmp` on Unix-like systems) without restricting directory permissions or disabling MSBuild automatic response file resolution. A local, low-privileged attacker on a multi-user system can place a crafted `Directory.Build.rsp` file in the shared temporary directory hierarchy. When a victim user executes an affected Aspire CLI command, MSBuild traverses upward, ingests the attacker-controlled response file, and executes arbitrary commands in the security context of the victim user.

Alon Barad
Alon Barad
2 views•10 min read
•about 2 hours ago•CVE-2026-120792
7.3

CVE-2026-120792: Local Information Disclosure via Temporary File Logging in Microsoft .NET Aspire CLI

CVE-2026-120792 is a high-severity local information disclosure vulnerability in the Microsoft .NET Aspire CLI (Aspire.Cli) affecting versions 13.5.4 prior to 13.6.5. The flaw stems from the insertion of sensitive information into a shared temporary log file (CWE-532) combined with insecure temporary file creation (CWE-377) within the DeprecatedMcpCommandScanner component. During agent configuration scanning, the CLI unconditionally appends internal workspace paths and the first 200 characters of Model Context Protocol (MCP) agent configuration files to a statically named file in the system temporary directory. On multi-user systems, unprivileged local users can read this file to harvest API keys, authentication tokens, and internal service endpoints.

Alon Barad
Alon Barad
3 views•9 min read
•about 3 hours ago•CVE-2026-114159
8.8

CVE-2026-114159: Heap-Based Buffer Overflow in Microsoft Visual Studio and .NET Native Symbol Reader

CVE-2026-114159 is a heap-based buffer overflow vulnerability (CWE-122) in Microsoft.DiaSymReader.Native affecting Microsoft Visual Studio and the .NET Runtime on Windows. An integer truncation error during the parsing of oversized document names in Portable PDB symbol files causes an undersized heap allocation, leading to an out-of-bounds memory write and remote code execution.

Alon Barad
Alon Barad
6 views•10 min read
•about 4 hours ago•CVE-2026-114158
8.8

CVE-2026-114158: Heap-Based Buffer Overflow in Microsoft.DiaSymReader.Native Portable PDB Parser

CVE-2026-114158 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported servicing branches of Microsoft .NET (.NET 8.0, 9.0, 10.0, and 11.0) on Windows. The flaw resides in the native symbol reader library, Microsoft.DiaSymReader.Native, and is triggered when parsing Portable Program Database (PDB) metadata containing malformed EmbeddedSource custom debug information records. By supplying a parent Record Identifier (RID) of zero or an out-of-bounds value, an attacker causes an integer underflow during 1-based to 0-based index conversion, leading to a heap-based buffer overflow and arbitrary code execution within the context of the host developer tool or runtime.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 5 hours ago•CVE-2026-114151
8.8

CVE-2026-114151: Remote Code Execution via Stack-Based Buffer Overflow in Microsoft Visual Studio and .NET Symbol Reader

CVE-2026-114151 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported versions of the Microsoft .NET runtime on Windows. The flaw resides in the native Debug Information Access (DIA) symbol reader component, Microsoft.DiaSymReader.Native. When parsing Program Database (.pdb) files, the component fails to validate the length of serialized numeric records (specifically LF_DECIMAL structures) before unpacking them into a fixed-size stack buffer. An attacker who convinces a user or automated diagnostic process to load a crafted .pdb file can trigger a stack-based buffer overflow, resulting in arbitrary code execution within the context of the host process.

Alon Barad
Alon Barad
5 views•9 min read
•about 6 hours ago•GHSA-6856-87HX-P5X7
7.5

CVE-2026-105544: Local Elevation of Privilege in .NET Test Platform CLI

CVE-2026-105544 is a high-severity local elevation of privilege vulnerability in Microsoft .NET and Microsoft.TestPlatform.CLI. Improper access control on local inter-process communication mechanisms and execution brokers allows an authorized local attacker to cross security boundaries and execute arbitrary code in the context of a higher-privileged user running a test execution cycle.

Amit Schendel
Amit Schendel
6 views•9 min read