Cross-site Scripting (XSS) Affecting mercurial package, versions <6.9.4-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-MERCURIAL-9510556
  • published22 Mar 2025
  • disclosed17 Mar 2025

Introduced: 17 Mar 2025

NewCVE-2025-2361  (opens in a new tab)
CWE-79  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 mercurial to version 6.9.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mercurial package and not the mercurial package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

A vulnerability was found in Mercurial SCM 4.5.3/71.19.145.211. It has been declared as problematic. This vulnerability affects unknown code of the component Web Interface. The manipulation of the argument cmd leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS Base Scores

version 3.1