Uploading an image shouldn't mean leaving the field you're editing. The markdown editor's toolbar has an "insert image" button that opens a small popup with two options: paste a URL, or upload a file from your computer. Uploads go through the same admin session as the rest of the panel. Before a file is accepted, its extension is checked and it's actually decoded as an image, so a .txt file renamed to photo.jpg doesn't get through.
The same popup lets you browse the images you've already uploaded, so a second article reusing a hero image doesn't need a second upload. That list comes from the media library page in the panel's sidebar, which shows every file in uploads/ as a thumbnail (or a generic icon for anything that isn't an image), with its size and a delete button.
You can upload straight from the media library too, by drag and drop. Drop one file or several onto the page and they upload on their own, the grid filling in as each one finishes. Which extensions count as an "image" is a single setting in Settings › System. Want .webp as well? Change that setting, not every place in the code that checks an extension. Scripts, HTML and SVG files are refused whatever that setting says.
Deleting a file removes the original and its thumbnail, if there is one. The delete endpoint only ever touches files inside uploads/, so no crafted filename can reach outside it.