Skip to main content

Path Traversal: '../filedir'

CVE-2025-48050

Severity High
Score 7.5/10

Summary

In DOMPurify through 3.2.5 before 6bc6d60, scripts/server.js does not ensure that a pathname is located under the current working directory. NOTE: the Supplier disputes the significance of this report because the "Uncontrolled data used in path expression" occurs "in a development helper script which starts a local web server if needed and must be manually started."

  • HIGH
  • NETWORK
  • LOW
  • CHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-24 - Path Traversal: '../filedir'

The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.

References

Advisory Timeline

  • Published