{"id":"USN-9454-1","summary":"mercurial vulnerability","details":"It was discovered that Mercurial incorrectly handled certain requests in\nits web interface. A remote attacker could possibly use this issue to\nperform cross-site scripting attacks.","modified":"2026-12-03T20:59:10.663709089Z","published":"2026-12-02T21:12:07Z","related":["UBUNTU-CVE-2025-2361"],"upstream":["CVE-2025-2361","UBUNTU-CVE-2025-2361"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9454-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-2361"}],"affected":[{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/mercurial?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1ubuntu1.4+esm2"}]}],"versions":["2.6.3-1","2.7.2-1","2.8.1-2","2.8.2-1ubuntu1","2.8.2-1ubuntu1.3","2.8.2-1ubuntu1.4","2.8.2-1ubuntu1.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"mercurial","binary_version":"2.8.2-1ubuntu1.4+esm2"},{"binary_version":"2.8.2-1ubuntu1.4+esm2","binary_name":"mercurial-common"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9454-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2025-2361","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"CNA"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]}}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.3-1ubuntu1.2+esm3"}]}],"versions":["3.4-1ubuntu2","3.6.2-1ubuntu2","3.7.3-1ubuntu1","3.7.3-1ubuntu1.1","3.7.3-1ubuntu1.2","3.7.3-1ubuntu1.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"mercurial","binary_version":"3.7.3-1ubuntu1.2+esm3"},{"binary_name":"mercurial-common","binary_version":"3.7.3-1ubuntu1.2+esm3"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9454-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2025-2361","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]}}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.3-1ubuntu2.2+esm1"}]}],"versions":["4.3.1-2","4.5-1ubuntu1","4.5.2-0ubuntu2","4.5.3-1ubuntu2","4.5.3-1ubuntu2.1","4.5.3-1ubuntu2.1+esm2","4.5.3-1ubuntu2.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"4.5.3-1ubuntu2.2+esm1","binary_name":"mercurial"},{"binary_name":"mercurial-common","binary_version":"4.5.3-1ubuntu2.2+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2025-2361","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9454-1.json"}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.1-1ubuntu1+esm1"}]}],"versions":["4.8.2-1ubuntu4","4.8.2-1ubuntu5","5.2.1-1","5.2.2-1ubuntu2","5.2.2-1ubuntu3","5.2.2-1ubuntu4","5.3.1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"mercurial","binary_version":"5.3.1-1ubuntu1+esm1"},{"binary_name":"mercurial-common","binary_version":"5.3.1-1ubuntu1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-2361","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9454-1.json"}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.1-1ubuntu1+esm1"}]}],"versions":["5.6.1-4","5.6.1-4build1","5.9.3-1","6.0-1","6.0.1-1","6.1.1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.1.1-1ubuntu1+esm1","binary_name":"mercurial"},{"binary_name":"mercurial-common","binary_version":"6.1.1-1ubuntu1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"id":"CVE-2025-2361","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9454-1.json"}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.2-1ubuntu2.2+esm1"}]}],"versions":["6.4.4-2","6.5.2-2ubuntu3","6.5.3-1","6.6.1-2","6.7.2-1ubuntu2","6.7.2-1ubuntu2.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"6.7.2-1ubuntu2.2+esm1","binary_name":"mercurial"},{"binary_name":"mercurial-common","binary_version":"6.7.2-1ubuntu2.2+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"id":"CVE-2025-2361","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9454-1.json"}}],"schema_version":"1.9.2"}