mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	security: multiple reported CVE fixes (#1515)
* update out of date license * update typing / refactor * fix arbitrarty path injection * use markdown sanatizer to prevent XSS CWE-79 * fix CWE-918 SSRF by validating url and mime type * add security docs * update recipe-scrapers * resolve DOS from arbitrary url * update changelog * bump version * add ref to #1506 * add #1511 to changelog * use requests decoder * actually fix encoding issue
This commit is contained in:
		| @@ -22,21 +22,15 @@ | ||||
|       dense | ||||
|       rows="4" | ||||
|     /> | ||||
|     <VueMarkdown v-else :source="value" /> | ||||
|     <SafeMarkdown v-else :source="value" /> | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <script lang="ts"> | ||||
| // @ts-ignore vue-markdown has no types | ||||
| import VueMarkdown from "@adapttive/vue-markdown"; | ||||
|  | ||||
| import { defineComponent, computed, ref } from "@nuxtjs/composition-api"; | ||||
|  | ||||
| export default defineComponent({ | ||||
|   name: "MarkdownEditor", | ||||
|   components: { | ||||
|     VueMarkdown, | ||||
|   }, | ||||
|   props: { | ||||
|     value: { | ||||
|       type: String, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user