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



CVE-2026-25148

CVE-2026-25148: When "Resumability" Becomes "Exploitability" in Qwik SSR

Alon Barad
Alon Barad
Software Engineer

Feb 4, 2026·5 min read·35 visits

Executive Summary (TL;DR)

Qwik versions prior to 1.19.0 failed to escape input when serializing state into HTML comments during Server-Side Rendering (SSR). Attackers can inject `-->` to break out of the comment context and execute arbitrary JavaScript (XSS) in the victim's browser.

In the race for sub-millisecond page loads, the Qwik framework forgot one of the oldest rules in the book: never trust user input. CVE-2026-25148 describes a logic flaw in Qwik's SSR engine where metadata used for 'resumability' is serialized into HTML comments without escaping. By injecting a simple comment terminator, attackers can trick the browser into rendering malicious scripts directly from the server response. It’s a classic injection vulnerability wrapped in modern architectural complexity.

The Hook: Resumability's Dark Secret

Qwik has made a name for itself by eliminating "hydration"—that heavy process where your browser has to re-execute a mountain of JavaScript just to make a static HTML page interactive. Instead, Qwik uses Resumability. It serializes the entire application state and event listeners directly into the HTML, allowing the client to pick up exactly where the server left off.

But here is the catch: where does all that state go? It gets stuffed into custom attributes and HTML comments (like <!--qv ... -->) scattered throughout the DOM. These comments act as the glue holding the virtual DOM together across the network boundary.

For a security researcher, this is blood in the water. Anytime a framework takes user input and serializes it into a hidden structural element, there is a risk. If the serializer gets lazy and just concatenates strings, you have a recipe for disaster. And in Qwik's case, the serializer didn't just get lazy; it fell asleep at the wheel.

The Flaw: String Concatenation in 2026?

The root cause here is almost charmingly retro. The vulnerability lives in render-ssr.ts, specifically within the functions responsible for serializing virtual attributes (renderVirtualAttributes) and node metadata.

When the server renders a component, it generates strings like key=value to place inside those special <!--qv ... --> comments. The developers assumed that these values would be benign internal identifiers. However, modern web apps love to pass user-controlled data around as props, slot names, or keys.

Prior to version 1.19.0, the code simply appended these values to the output string. It didn't check for special characters. It didn't quote them safely. It just glued them together. This means if an attacker controls a variable that ends up in these virtual attributes, they can inject the sequence -->. In HTML parsing rules, that sequence immediately closes a comment block. Anything following it is treated as raw HTML markup by the browser.

The Code: Diffing the Disaster

Let's look at the smoking gun. The patch (commit fe2d9232c0bcec99411d51a00dae29295871d094) reveals exactly what went wrong. The developers had to introduce a new helper, escapeValue, because they were previously doing raw concatenation.

The Vulnerable Logic (Conceptual):

// Old way: blind trust
text += ' ' + (value === '' ? prop : prop + '=' + value);

If value is --> <script>..., the resulting HTML is broken immediately.

The Fix:

// New way: sanitize everything
text += ' ' + (value === '' ? prop : prop + '="' + escapeValue(value) + '"');

The fix involves wrapping the value in quotes and running it through escapeValue, which converts dangerous characters (like < and >) into their HTML entity equivalents. It's standard procedure, but it was missing in a critical part of the SSR engine.

The Exploit: Breaking the Fourth Wall

Exploiting this is trivially easy if you can influence a property or slot name rendered on the server. You don't need complex heap feng shui or ROP chains. You just need to know how HTML comments work.

Here is a Proof of Concept derived from the regression tests. Imagine a component that accepts a name for a slot:

// The malicious payload
const PAYLOAD = "--><img src=x onerror=alert('XSS')>";
 
// The victim component
<Slot name={PAYLOAD} />

When the server renders this, it tries to create a comment to track the slot. Without the fix, it outputs something like this:

<!--qv q:s q:key=--><img src=x onerror=alert('XSS')>-->

The Browser's Perspective:

  1. See <!--qv ... : Start comment.
  2. See --> (inside our payload): End comment.
  3. See <img src=x onerror=...>: Execute HTML.
  4. See -->: Text content (harmless trailing garbage).

The result? Immediate JavaScript execution in the context of the victim's session.

The Residual Risk: The Job Isn't Done

> [!WARNING] > Researcher Note: The patch might not be complete.

While analyzing the fix, I noticed something interesting. The patch heavily sanitizes the values of attributes, but it seems to trust the keys (property names). In the loop iterating over attributes:

for (const prop in attributes) {
    // ...
    text += ' ' + (value === '' ? prop : prop + '="' + escapeValue(value) + '"');
}

The prop variable is appended directly. If an application uses the spread operator with a user-controlled object (e.g., <div {...userInput} />), and the attacker manages to inject a key named --> <svg/onload=alert(1)>, this logic might still allow a breakout. It's a narrower edge case, but in security, edge cases are where the fun happens. Developers should treat object spreading with extreme caution.

The Fix: Patching the Leak

The immediate remediation is to upgrade Qwik to version 1.19.0 or later. This version includes the escapeHtml and escapeValue helpers that neutralize the breakout characters.

However, this vulnerability serves as a reminder: Sanitization is not just for the client. SSR is effectively a text-processing engine. If you are building strings that will be parsed by a browser, you must respect the parser's rules. For developers using Qwik, ensure you aren't passing raw user input into component props that affect structural metadata, like slot names or keys.

Official Patches

QwikDevGitHub Commit fixing the serialization logic

Fix Analysis (1)

Technical Appendix

CVSS Score
5.3/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS Probability
0.10%
Top 71% most exploited

Affected Systems

Qwik Framework < 1.19.0

Affected Versions Detail

Product
Affected Versions
Fixed Version
Qwik
QwikDev
< 1.19.01.19.0
AttributeDetail
CWECWE-79 (Cross-site Scripting)
CVSS v4.05.3 (Medium)
Attack VectorNetwork
EPSS Score0.10%
Fix Version1.19.0
Exploit MaturityProof of Concept

MITRE ATT&CK Mapping

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

Known Exploits & Detection

Regression TestOfficial regression test demonstrating comment breakout via slot names.

Vulnerability Timeline

Patch Committed
2026-01-30
CVE Published
2026-02-03
Version 1.19.0 Released
2026-02-03

References & Sources

  • [1]GitHub Security Advisory
  • [2]NVD Record

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 6 hours ago•CVE-2026-54347
8.7

CVE-2026-54347: Stored Cross-Site Scripting in Froxlor DNS TXT Record Configuration

A critical stored Cross-Site Scripting (XSS) vulnerability was identified in Froxlor server administration software panel before version 2.3.8. Authenticated customers with DNS editor privileges can inject malicious JavaScript into DNS TXT records. Because the application processes these values via a raw formatting callback without context-aware HTML entity encoding, the payload executes in the security context of administrative users who view the affected domain's DNS zones.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 7 hours ago•CVE-2026-54348
7.2

CVE-2026-54348: Second-Order SQL Injection in Froxlor API Layer

An authenticated administrator with privileges to manage admin accounts (such as change_serversettings) can execute arbitrary SQL commands via a second-order SQL injection vulnerability. The flaw resides in Froxlor's administrative API endpoints, specifically during the handling of IP address mapping parameters which are stored as serialized arrays and later interpolated without sanitization into active database queries. This vulnerability allows high-privileged administrative attackers to compromise the database. By injecting a payload into administrative profile metadata, an attacker can extract sensitive credentials, manipulate backend settings, or potentially disrupt database integrity. The vulnerability affects all versions of Froxlor prior to 2.3.8.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 8 hours ago•CVE-2026-54543
5.4

CVE-2026-54543: DNS Resource Record (RR) Injection in Froxlor DomainZones API

CVE-2026-54543 is a DNS Resource Record (RR) Injection vulnerability in Froxlor, an open-source server administration control panel. Prior to version 2.3.8, the DomainZones.add API command failed to perform strict sanitization and validation on the user-controlled record (label) and type parameters before serializing them into BIND-compatible zone files. An authenticated customer with DNS zone management permissions can inject control characters, breaking out of the original record context to define unauthorized resource records within managed zones.

Amit Schendel
Amit Schendel
4 views•7 min read
•about 8 hours ago•CVE-2026-42533
9.2

CVE-2026-42533: NGINX Map Directive and Regex Matching Pre-Auth Heap Buffer Overflow & Info Leak

CVE-2026-42533 is a critical security vulnerability discovered in NGINX Open Source, NGINX Plus, NGINX Ingress Controller, and related products, referred to as the 'Two-Pass Capture-Clobbering' bug. The flaw is situated within NGINX's internal evaluation engine when handling complex variables, exposing a heap-based buffer overflow and information leak when a configuration chains regular expression-based map directives with numbered capture groups. An unauthenticated remote attacker can exploit this weakness by transmitting crafted HTTP requests to trigger remote code execution or defeat ASLR.

Alon Barad
Alon Barad
7 views•7 min read
•about 9 hours ago•CVE-2026-55593
6.5

CVE-2026-55593: Persistent Administrative Hijacking via Cross-Site Request Forgery in Froxlor Ajax Router

Froxlor prior to version 2.3.8 contains a high-severity architectural flaw where the standalone lib/ajax.php entry point bypasses the centralized request validation in lib/init.php. Unauthenticated remote attackers can leverage Cross-Site Request Forgery (CSRF) to induce authenticated administrators to submit forged requests that modify API key whitelists and expiration dates, potentially yielding persistent, out-of-band administrative control.

Amit Schendel
Amit Schendel
6 views•8 min read
•about 10 hours ago•CVE-2026-62988
9.0

CVE-2026-62988: Multi-Factor Authentication and Credential Bypass in Froxlor API

An insecure data retrieval flaw in the Froxlor server administration panel API allows authenticated remote attackers to retrieve unredacted bcrypt password hashes and Base32-encoded Time-Based One-Time Password (TOTP) seeds. Affected endpoints include several 'get' and 'listing' handlers for customers, administrators, and FTP accounts. Utilizing these leaked parameters, attackers can crack the password hashes offline and concurrently generate valid second-factor authentication codes to completely bypass access controls.

Amit Schendel
Amit Schendel
8 views•6 min read