AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2022-24725

MEDIUM · CVSS 6.2 EPSS 0.50% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2022-03-03 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 6.2. It affects Java. Public exploit code or proof-of-concept references have been detected in its references.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2022-24725
Severity
MEDIUM
CVSS
6.2
EPSS
0.50%
Java

Original NVD Description

Shescape is a shell escape package for JavaScript. An issue in versions 1.4.0 to 1.5.1 allows for exposure of the home directory on Unix systems when using Bash with the `escape` or `escapeAll` functions from the _shescape_ API with the `interpolation` option set to `true`. Other tested shells, Dash and Zsh, are not affected. Depending on how the output of _shescape_ is used, directory traversal may be possible in the application using _shescape_. The issue was patched in version 1.5.1. As a workaround, manually escape all instances of the tilde character (`~`) using `arg.replace(/~/g, "\\~")`.

Related CVEs

Other vulnerabilities affecting the same vendor(s)