Skip to main content
  1. Posts/

[ RESEARCH ] - CVE-2026-78738 - Stored XSS Silverpeas Core 6.4.6 - File upload feature

·384 words·2 mins·
RESEARCH CVE-2026-78738 SILVERPEAS
Table of Contents

Summary
#

A stored XSS vulnerability within the Silverpeas Document management application. By intercepting the requests send while uploading a file and replacing the X-FULL-PATH header with an XSS payload, the payload gets executed once clicked on the preview button.

General information
#

Description: The Document management file upload feature of Silverpeas 6.4.6 is vulnerable to Stored Cross-Site Scripting (XSS).
Versions Affected: 6.4.6
Version Fixed: 6.4.7
Researcher: HEKK.ONE

Proof-of-Concept (POC) Exploit
#

This exploit works when an authenticated user has a workspace available with the Document management application and has the Managers role , Publishers or Writers within that application. Ideally as a Manager, otherwise validation of the upload could be required. Exploit below is written from the Managers role perspective.

Document management application
#

Login as the user that is a member of a workspace with the Document management application available and in the Managers role. Select the space available and then the Document management application.

Now click on Add a file. Set proxy to intercept requests (ex. CAIDO/BURP) and upload a file by clicking on Browse (ex. jpg-download_592324-17349-730237325.jpg) and click Open. Once clicked the application should hang like this:

A POST request is send with this header: POST /silverpeas/services/fileUpload/verify HTTP/1.1, send this one through. The next POST request is this: POST /silverpeas/services/fileUpload HTTP/1.1.

In this request, replace the X-FULL-PATH header with this URL encoded payload: X-FULL-PATH: %3Cimg%20src%3Dx%20onerror%3Dprompt(1)%3B%3E and forward the request. Disable the intercepting proxy. Below screen should be the result.

Add the random text in Title and Description and press Ok twice. The uploaded file is shown, when you click on the preview icon the JavaScript is executed.


If the workspace or Document management application is not available install it using below.

Create workspace and add application
#

Login as an administrator and click on the menu item Back office. Within the backoffice select Workspace & applications and Create a space.

Fill in a random name for the workspace and click OK. To the right on the screen, select within the dropdown menu Add an application and select Document management, give the application a name (ex. docmgt) and select OK.

Once the application is created, add a user to one of the following roles (Managers/Publishers/Writers) by clicking on the tab, and selecting Edit to add a user in a specific role.

Related

[ RESEARCH ] - CVE overview
·47 words·1 min
RESEARCH CVE OVERVIEW
Overview of analyzed applications and discovered Common Vulnerabilities and Exposures (CVE)
OFFSEC - Proving Grounds - FLINK
·1835 words·9 mins
OFFSEC PG PRACTICE APACHE FLINK MSFCONSOLE PACK2THEROOT CVE-2026-41651
Apache Flink 2.0.0 on port 8081 is exploited via Metasploit’s JAR Upload RCE module for initial access. LinPEAS identifies Pack2TheRoot (CVE-2026-41651), enabling privilege escalation to root.
OFFSEC - Proving Grounds - CARRYOVER
·3043 words·15 mins
OFFSEC PG PRACTICE SQLMAP LD_PRELOAD
Carvilla on port 80 is vulnerable to SQL injection, providing initial access via SQLmap. An exposed LD_PRELOAD variable enables a custom shared object to be executed with sudo, escalating privileges to root.
OFFSEC - Proving Grounds - ZAB
·1473 words·7 mins
OFFSEC PG PRACTICE MAGE PACK2THEROOT CVE-2026-41651
Gobuster finds local.txt on port 80. A Mage web app on port 6789 provides browser-based terminal access. The server is vulnerable to Pack2TheRoot (CVE-2026-41651), enabling privilege escalation to root.
OFFSEC - Proving Grounds - GLIDER
·1919 words·10 mins
OFFSEC PG PRACTICE XXE PHP FILTER PSPY MQTT
XXE on port 80 enables PHP file reads and RCE. After gaining access, pspy64 reveals Mosquitto credentials; subscribing to the MQTT topic exposes root credentials.
OFFSEC - Proving Grounds - BACKUPBUDDY
·1608 words·8 mins
OFFSEC PG PRACTICE PATH TRAVERSAL SSH2JOHN JOHN PACK2THEROOT CVE-2026-41651
PHP File Manager on port 80 allows default login and path traversal to Brian’s SSH key. SSH access is gained, then CVE-2026-41651 is exploited to become root.