Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-24811: fix(client): validate urls to improve security · misskey-dev/misskey@38f9d1e

Misskey is an open source, decentralized social media platform. In versions prior to 13.3.2 the URL preview function is subject to a cross site scripting vulnerability due to insufficient URL validation. Arbitrary JavaScript is executed when a malicious URL is loaded in the View in Player or View in Window preview. This has been fixed in version 13.3.2. Users are advised to upgrade. Users unable to upgrade should avoid usage of the View in Player or View in Window functions.

CVE
#xss#vulnerability#java

@@ -1,7 +1,8 @@

<template>

<div v-if="playerEnabled" :class="$style.player" :style="`padding: ${(player.height || 0) / (player.width || 1) * 100}% 0 0`">

<button :class="$style.disablePlayer" :title="i18n.ts.disablePlayer" @click="playerEnabled = false"><i class="ti ti-x"></i></button>

<iframe :class="$style.playerIframe" :src="player.url + (player.url.match(/\?/) ? ‘&autoplay=1&auto_play=1’ : ‘?autoplay=1&auto_play=1’)" :width="player.width || '100%’" :heigth="player.height || 250" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/>

<iframe v-if="player.url.startsWith(‘http://’) || player.url.startsWith(‘https://’)" :class="$style.playerIframe" :src="player.url + (player.url.match(/\?/) ? ‘&autoplay=1&auto_play=1’ : ‘?autoplay=1&auto_play=1’)" :width="player.width || '100%’" :heigth="player.height || 250" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/>

<span v-else>invalid url</span>

</div>

<div v-else-if="tweetId && tweetExpanded" ref="twitter" :class="$style.twitter">

<iframe ref="tweet" scrolling="no" frameborder="no" :style="{ position: 'relative’, width: '100%’, height: `${tweetHeight}px` }" :src="`https://platform.twitter.com/embed/index.html?embedId=${embedId}&hideCard=false&hideThread=false&lang=en&theme=${$store.state.darkMode ? ‘dark’ : 'light’}&id=${tweetId}`"></iframe>

CVE: Latest News

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