{"id":"UBUNTU-CVE-2025-52331","details":"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.","modified":"2026-05-20T16:23:33.280873218Z","published":"2025-11-12T17:15:00Z","upstream":["CVE-2025-52331"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-52331"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-52331"},{"type":"REPORT","url":"https://gist.github.com/MarcinB44/2150484497c4b34aedf682c9091b14fa"},{"type":"REPORT","url":"https://www.rarlab.com/rarnew.htm"},{"type":"REPORT","url":"https://www.win-rar.com/whatsnew.html"}],"affected":[{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.3.2-1","1:5.3.2-1+deb9u1build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"unrar","binary_version":"1:5.3.2-1+deb9u1build0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.5.8-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:5.5.8-1","binary_name":"unrar"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.6.6-2","1:5.6.6-2build1","1:5.6.6-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libunrar5","binary_version":"1:5.6.6-2ubuntu0.1"},{"binary_name":"unrar","binary_version":"1:5.6.6-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6.0.5-1","1:6.0.7-6","1:6.1.2-1","1:6.1.3-1","1:6.1.3-2","1:6.1.4-1","1:6.1.5-1","1:6.1.5-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libunrar-headers","binary_version":"1:6.1.5-1ubuntu0.1"},{"binary_name":"libunrar5","binary_version":"1:6.1.5-1ubuntu0.1"},{"binary_name":"unrar","binary_version":"1:6.1.5-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6.2.10-2","1:7.0.2-1","1:7.0.3-1","1:7.0.4-1","1:7.0.5-1","1:7.0.6-1","1:7.0.7-1","1:7.0.7-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libunrar-headers","binary_version":"1:7.0.7-1build1"},{"binary_version":"1:7.0.7-1build1","binary_name":"libunrar5t64"},{"binary_name":"unrar","binary_version":"1:7.0.7-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:7.1.5-3","1:7.1.6-1","1:7.1.7-1","1:7.1.8-1","1:7.1.9-1","1:7.1.10-1","1:7.1.10-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:7.1.10-2","binary_name":"libunrar-headers"},{"binary_version":"1:7.1.10-2","binary_name":"libunrar5t64"},{"binary_name":"unrar","binary_version":"1:7.1.10-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:7.1.10-2","1:7.2.1-1","1:7.2.2-1","1:7.2.3-1","1:7.2.3-2","1:7.2.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libunrar-headers","binary_version":"1:7.2.4-1"},{"binary_version":"1:7.2.4-1","binary_name":"libunrar5t64"},{"binary_name":"unrar","binary_version":"1:7.2.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52331.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}