Improper Encoding or Escaping of Output Affecting dom-expressions package, versions <0.39.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. 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 IDSNYK-JS-DOMEXPRESSIONS-8747580
  • published26 Feb 2025
  • disclosed25 Feb 2025
  • creditnsysean

Introduced: 25 Feb 2025

NewCVE-2025-27108  (opens in a new tab)
CWE-116  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade dom-expressions to version 0.39.5 or higher.

Overview

dom-expressions is an A Fine-Grained Runtime for Performant DOM Rendering

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output due to improper handling of user input in the replace method, which allows special replacement patterns beginning with $.

References

CVSS Scores

version 4.0
version 3.1