Headline
CVE-2023-5811: Update posts.php · flusity/flusity-CMS@6943991
A vulnerability, which was classified as problematic, was found in flusity CMS. Affected is the function loadPostAddForm of the file core/tools/posts.php. The manipulation of the argument menu_id leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The patch is identified as 6943991c62ed87c7a57989a0cb7077316127def8. It is recommended to apply a patch to fix this issue. VDB-243642 is the identifier assigned to this vulnerability.
Expand Up
@@ -272,13 +272,17 @@ function loadPostAddForm(postMenuId) {
</script>
<?php
if (isset($_GET[‘edit_post_id’])) {
$edit_post_id = $_GET[‘edit_post_id’];
echo "<script>loadPostEditForm($edit_post_id);</script>";
$edit_post_id = filter_input(INPUT_GET, 'edit_post_id’, FILTER_SANITIZE_NUMBER_INT);
$safe_edit_post_id = htmlspecialchars($edit_post_id, ENT_QUOTES, ‘UTF-8’);
echo "<script>loadPostEditForm($safe_edit_post_id);</script>";
}
if (isset($_GET[‘menu_id’])) {
$menu_id = $_GET[‘menu_id’];
echo "<script>loadPostAddForm($menu_id);</script>";
$menu_id = filter_input(INPUT_GET, 'menu_id’, FILTER_SANITIZE_NUMBER_INT);
$safe_menu_id = htmlspecialchars($menu_id, ENT_QUOTES, ‘UTF-8’);
echo "<script>loadPostAddForm($safe_menu_id);</script>";
}
?>
<script src="js/admin-post-edit.js"></script>
Expand Down