Skip to content

Commit

Permalink
Fixed the Path Traversal vulnerability found in the configuration fil…
Browse files Browse the repository at this point in the history
…e for the compilation of the assets of our Sphinx theme
  • Loading branch information
vamera committed Oct 7, 2024
1 parent 1003ef3 commit ff86738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_themes/wazuh_doc_theme_v3/config/uglifyjs-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const UglifyJS = require("uglify-js");
const SRC_PATH = "src/js-source/";
const END_PATH = "static/js/";

const parameter = process.argv[2];
const parameter = process.argv[2].replace(/\.\./g,'');
const FILE = parameter.split('=')[1];
// const cacheFileName = path.resolve(__dirname, "../build/cache.json");

Expand Down

0 comments on commit ff86738

Please sign in to comment.