Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-2280: update · microweber/microweber@9ebbb4d

Cross-site Scripting (XSS) - Stored in GitHub repository microweber/microweber prior to 1.2.19.

CVE
#xss#web#git

@@ -336,9 +336,12 @@

// Make sure the fileName is unique but only if chunking is disabled

if ($chunks < 2 && file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName)) {

$ext = strrpos($fileName, ‘.’);

$fileName_a = substr($fileName, 0, $ext);

$fileName_b = substr($fileName, $ext);

$fileName_b = strtolower($fileName_b);

$count = 1;

while (file_exists($targetDir . DIRECTORY_SEPARATOR . $fileName_a . ‘_’ . $count . $fileName_b)) {

++$count;

@@ -500,7 +503,7 @@

if (is_file($filePath) and !$chunks || $chunk == $chunks - 1) {

$ext = get_file_extension($filePath);

$ext = strtolower($ext);

if (function_exists(‘finfo_open’) and function_exists(‘finfo_file’)) {

$finfo = finfo_open(FILEINFO_MIME_TYPE); // return mime type ala mimetype extension

$mime = @finfo_file($finfo, $filePath);

Related news

GHSA-5pg2-qg87-vmj7: Cross-site Scripting in microweber

Cross-site Scripting (XSS) - Stored in GitHub repository microweber/microweber prior to 1.2.19.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907