CVE-2026-5160 Affecting vale package, versions <3.15.1-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.29% (21st percentile)

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 IDSNYK-WOLFILATEST-VALE-18279767
  • published24 Jul 2026
  • disclosed15 Apr 2026

Introduced: 15 Apr 2026

CVE-2026-5160  (opens in a new tab)

How to fix?

Upgrade Wolfi vale to version 3.15.1-r3 or higher.

NVD Description

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

Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character references. For example, a payload such as javascript&colon;alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.