CVE-2021-32158

MEDIUM

Webmin 1.973 - Stored Cross-Site Scripting via Upload and Download Feature

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-32158. PoCs published by Mesh3l911.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2021-32158, which chains a reflected XSS vulnerability in Webmin to achieve remote command execution by tricking an admin into downloading a malicious PHP webshell. The exploit generates a CSRF link that, when visited by an authenticated admin, triggers the payload.

Description

A Cross-Site Scripting (XSS) vulnerability exists in Webmin 1.973 via the Upload and Download feature.

Exploits (1)

nomisec WORKING POC
by Mesh3l911 · poc
https://github.com/Mesh3l911/CVE-2021-32158

This repository contains a functional exploit for CVE-2021-32158, which chains a reflected XSS vulnerability in Webmin to achieve remote command execution by tricking an admin into downloading a malicious PHP webshell. The exploit generates a CSRF link that, when visited by an authenticated admin, triggers the payload.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Webmin 1.973
Auth required
Prerequisites: Authenticated Webmin admin session · Admin must visit the crafted CSRF link
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/Mesh3l911/CVE-2021-32158

Scores

CVSS v3 6.1
EPSS 0.0196
EPSS Percentile 77.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (1)
webmin/webmin 1.973
Published Apr 11, 2022
Tracked Since Feb 18, 2026