CVE-2025-22872 Affecting cloudflared package, versions <2025.4.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-CHAINGUARDLATEST-CLOUDFLARED-9747151
  • published17 Apr 2025
  • disclosed16 Apr 2025

Introduced: 16 Apr 2025

NewCVE-2025-22872  (opens in a new tab)

How to fix?

Upgrade Chainguard cloudflared to version 2025.4.0-r1 or higher.

NVD Description

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

The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer, this can result in such tags incorrectly being marked as self-closing, and when using the Parse functions, this can result in content following such tags as being placed in the wrong scope during DOM construction, but only when tags are in foreign content (e.g. <math>, <svg>, etc contexts).

CVSS Base Scores

version 3.1