
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-52331 is a Cross-Site Scripting (XSS) vulnerability in the "generate report" functionality of Rarlab WinRAR 7.11. The flaw allows attackers to inject malicious HTML tags into generated HTML reports by crafting archive file names without proper input validation, potentially disclosing sensitive user information. It was discovered by Marcin Bobryk and published on November 12, 2025. The vulnerability has a CVSS v3.1 base score of 6.1 (Medium) per NVD, though the researcher's own assessment assigns a local-attack score of 4.4 (Red Hat CVE, GitHub Gist).
The root cause is improper neutralization of input during web page generation (CWE-79). WinRAR 7.11's "generate report" feature includes archived file names directly in the output HTML report without sanitization or escaping, allowing an attacker to embed arbitrary HTML or JavaScript tags within a specially crafted archive file name. Exploitation requires the victim to open an archive containing a maliciously named file and then use the "generate report" function, after which the generated HTML report executes the injected script when opened in a browser. The attack vector is local in the researcher's assessment, requiring the victim to interact with a malicious archive (GitHub Gist).
Successful exploitation can lead to information disclosure, exposing sensitive data such as the victim's computer username, the directory path where the report was generated, and the local IP address. The injected script executes in the context of the locally opened HTML report, limiting the scope primarily to the local user's environment. There is no direct availability impact, and lateral movement potential is low given the local attack nature (GitHub Gist, Red Hat CVE).
<script>document.write(document.location+' '+navigator.userAgent)</script>.txt.<script> tags or other HTML markup within file name fields; archive files with unusually named entries containing HTML special characters (<, >, ", ').The vulnerability is fixed in WinRAR 7.12 beta 1 and later releases. Users should upgrade to WinRAR 7.12 or newer as soon as possible. As a workaround, users should avoid using the "generate report" functionality when working with archives from untrusted sources, and should not open generated HTML reports from unknown archives (GitHub Gist, WinRAR Release Notes).
The vulnerability was discovered and responsibly disclosed by security researcher Marcin Bobryk, who published a detailed description via GitHub Gist. Red Hat has tracked the CVE in their security advisory database. No significant broader media coverage or notable community discussion has been identified beyond standard vulnerability database aggregation (Red Hat CVE, GitHub Gist).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."