CVE-2025-52331 Cross-site scripting in n/a
Attackers can inject malicious HTML into WinRAR reports to disclose user information like username and IP address when users open the report.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-52331?
CVE-2025-52331 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the generate report functionality in Rarlab WinRAR 7.11, allows attackers to disclose user information such as the computer username, generated report directory, and IP address. The generate report command includes archived file names without validation in the HTML report, which allows potentially malicious HTML tags to be injected into the report. User interaction is required. User must use the "generate report" functionality and open the report.
Weakness: CWE-79
Which versions are affected by CVE-2025-52331?
It affects 1 product.
Products include Rarlab Winrar.
How do I fix CVE-2025-52331?
No fix has been published for CVE-2025-52331 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-52331 being exploited?
There is no known exploitation of CVE-2025-52331 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w8fm-xj22-4j56, UBUNTU-CVE-2025-52331.