Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@editora/media-manager

Latest version: v1.1.3

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ajaykr089
3 Stars
0 Forks
7 Versions
289 Downloads
TypeScript Repo language

Scan summary

@editora/media-manager was last scanned on 29 Nov 2026 at version 1.1.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 2 were published within 3 days (27–29 Nov 2026).
  • Findings: No rules fired in version 1.1.3.
  • Downloads: 289 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.3 LATEST 29 Nov 2026 No rules fired
1.1.2 27 Nov 2026 No rules fired
1.1.1 3 Nov 2026 No rules fired
1.1.0 20 Oct 2026 Not shown
1.0.4 5 Oct 2026 Not shown

No rules fired in 1.1.3

Findings

Findings for v1.1.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.1.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@editora/media-manager

Version License TypeScript

[!IMPORTANT] Live Website: https://editora-ecosystem.netlify.app/\ Storybook: https://editora-ecosystem-storybook.netlify.app/

The advanced media manager for Editora: one Media window for images, video, audio and embedded players, with a searchable library, uploads that show their progress, an image editor, captions and alt text. It works with no backend, and with your own storage through one function or a full provider.

  • Library, Upload, From URL, Stock photos and Embed in one window, with All / Images / Video / Audio filters, search, sort, and a grid or list layout.
  • Uploads you can see: drop or paste files and they appear in the grid with their own progress; paste or drop into the document and a placeholder holds the place.
  • Image editing: rotate, flip, crop, scale and re-encode, keeping the original.
  • Accessible: alt text with a decorative switch and optional suggested descriptions, real <figure> captions, keyboard, touch and screen reader support.
  • Your storage: uploadHandler, a provider with list, update and delete, or the REST API in the repository.

Installation

npm install @editora/media-manager

Or the bundled plugins:

npm install @editora/plugins

Usage

import { MediaManagerPlugin } from "@editora/media-manager";
// or: import { MediaManagerPlugin } from "@editora/plugins";

const plugins = [MediaManagerPlugin()];

With no configuration, files you upload are embedded in the document as data URLs.

Commands and shortcut

  • insertImage (shortcut Mod-Shift-i) and insertVideo, with toolbar items Image and Video

Inserting

One window, titled Media, for Insert Image, Insert Video, Insert Audio and Replace Image. The sidebar lists where media can come from: Library, Upload, From URL, Stock photos (when stockProvider is set) and Embed. What the command was for decides which filter the library opens on, and the pills above the grid (All, Images, Video, Audio) change it; replacing a picture takes a picture, so it has no pills and no Embed.

  • Library: a searchable grid of what you have uploaded, paged as you scroll, that can be sorted (Newest, Oldest, Name) and shown as a grid or a list. It comes from the provider when it can list (see below); otherwise it is the library of this browser, kept in IndexedDB (localLibrary: false turns it off), and the window opens on it once it has something in it. Click to choose (several are fine; Shift-click chooses a range, Ctrl/Cmd+A everything loaded), double-click or Enter to insert. Video and audio tiles show how long they play. Files you drop or paste while it is open appear in the grid as tiles with their own progress, then become real items.
  • Details panel: a preview, the name, the size, its alt text (prefilled from the library) with a "decorative image" switch that inserts an empty alt, Edit (opens the image editor on that picture and keeps the result as a new file) and Alt (suggests a description, when generateAltText is set), a caption that goes under the media, and Delete for providers that can delete.
  • Upload: drop files on the zone, anywhere on the window, or paste an image; several at once. Each file is a tile with its own real progress, a cancel button, and, if it fails or is refused (too large, wrong type), the reason, with Retry where trying again can help. A finished upload is chosen for you, and shows up in the library.
  • From URL: the address, alt text, width and height, with a preview. An address that ends like a video or an audio file is inserted as one.
  • It works from the keyboard (arrows through the grid, Space to choose, Enter to insert), on a phone (it becomes a bottom sheet), and in the dark theme.
  • The media is inserted at the caret, the caret is put after it, the editor is told its content changed, and the insertion can be undone. Several chosen items go in as one undoable step, in the order they were chosen.

In the editor

  • Paste and drop. (This is page-wide: once the media manager is loaded, pasting or dropping a picture into any editor on the page uploads it, whether or not that editor lists the plugin.) Paste an image (a screenshot, a copied picture) or drop image and video files onto the editor and each one gets a placeholder where it will go, with its own progress and a cancel button, then becomes the real media when it is stored. It is one undo step. Several files at once are fine. What is pasted along with text (a spreadsheet's cells, a copied page) is left as text. Turn it off with uploadOnPaste: false.
  • Captioned, aligned media. Inserted media is a <figure>: align it left, centre or right, and add a caption under it (Enter in the caption goes on in a new paragraph, Backspace in an empty one removes it, pasting into it gives one line of plain text). Media without a figure (from earlier versions) gets one when you align or caption it.
  • Select it by clicking, or with the keyboard: an arrow key at the edge of the paragraph beside it steps onto it, the next one carries on past it. Escape lets go.
  • The toolbar over a selected image or video: align, Size (small, medium, large, full width, original size; relative to the width of the text), caption, alt text, link, replace, remove. From the keyboard, Alt+F10 moves into it; the arrow keys go along it, Enter or Space uses a button, Escape or Tab goes back to the text.
  • Edit image (the crop button in the toolbar): turn it a quarter either way, flip it, crop it (free, or to 1:1, 4:3, 3:2, 16:9 or the picture's own shape; drag the box and its handles, or use the arrow keys, Shift and the arrows resize it), scale it down to a width, and choose how it is saved (JPEG, WebP or PNG, with a quality slider and the size the file will come out at). Nothing changes in the document until Apply. The edit is stored as a new file through your upload settings, so the original is still where it was, and the image remembers it (data-original-src) so that Restore original can bring it back. A picture from a server that does not send CORS headers can be shown but not edited, and the editor says so; GIFs are saved as still pictures.
  • Drag a corner to resize (mouse, touch or pen); the size shows while you drag.
  • Slash menu. SlashCommandsPlugin({ items: mediaSlashItems }) adds /image and /video.
  • The toolbar, the handles and the upload placeholders are drawn outside the editor, so none of them end up in the document.

What is saved is plain, and needs none of the editor's CSS:

<figure class="rte-media" data-align="center" style="display: table; max-width: 100%; margin: 1em auto;">
  <img src="…" alt="…" width="480" height="300" style="max-width: 100%; height: auto; display: block;">
  <figcaption style="display: table-caption; caption-side: bottom; …">A caption</figcaption>
</figure>

(display: table makes the figure as wide as the picture, so the caption wraps at the picture's width.) While editing, the figure is contenteditable="false" with only the caption editable; the editor leaves that out of the HTML it hands to you, along with captions nobody wrote in. wrapInFigure: false inserts the bare <img> / <video> of earlier versions.

Audio, embedded videos, galleries

  • Audio. insertAudio opens the same picker for audio files (MP3, WAV, Ogg, M4A, AAC); the result is a <figure> with an <audio controls> player that can be aligned and captioned. The toolbar's Audio button is off by default so that existing toolbars do not change: audio: true adds it (audio is also a name for toolbar item lists), and mediaSlashItems has /audio.
  • Embedded videos. The Insert Video dialog has an Embed tab: paste a YouTube or Vimeo link (watch, short, youtu.be, shorts, playlists, a start time, Vimeo private links) or the iframe snippet the site gives you. The player is a block figure that keeps its shape (16:9, or upright for Shorts), loads lazily, uses YouTube's privacy-enhanced host and Vimeo's do-not-track setting, and can be aligned, captioned and sized from the toolbar. Only the video's id is read from what you paste; the iframe's address is built from it, so a link cannot bring in another host, script or parameters. Add more services with embedProviders: [{ id, label, parse(url) }] (what parse returns must be an https address). While editing, a player takes no mouse (click it to select its figure); it plays normally in the saved page. The iframe carries data-editora-embed="true", which is what keeps the editor's sanitizer from removing it.
  • Galleries. Choose two or more pictures in the Library, Stock or Upload tab and Insert as gallery puts them in one <figure class="rte-media rte-gallery">: a grid of equal-shaped pictures in 2 to 5 columns (the toolbar's Columns menu), with one caption for the whole gallery. Click a picture for its own alt text, link, edit and replace, or to remove just that picture (or the gallery).

Stock photos and suggested alt text

Neither calls any service by itself: you write the function (which can call your own backend, where the API key lives) and the dialog does the rest.

setMediaManagerConfig({
  // A Stock tab in the Insert Image dialog, named for the service
  stockProvider: {
    name: "Unsplash",
    search: async ({ search, page, limit }, { signal }) => {
      const res = await fetch(`/api/stock?q=${encodeURIComponent(search)}&page=${page}&per=${limit}`, { signal });
      const { results, total } = await res.json();
      return {
        total,
        items: results.map((p) => ({ id: p.id, thumbnailUrl: p.urls.small, url: p.urls.regular, width: p.width, height: p.height, description: p.alt_description, author: p.user.name, sourceUrl: p.links.html })),
      };
    },
    // caption: false | (photo) => string | null   (default: "Photo by <author> on <name>")
  },
  // A Suggest button next to the alt text field, in the picker and in the Edit alt text dialog
  generateAltText: async ({ src, name }, { signal }) => (await describeWithMyService(src, signal)).text,
});

An empty search means "show something" (popular, curated). Stock photos are inserted by address (not copied to your storage), with the description as alt text and the credit as the caption. Suggested alt text is only ever put in the field for the person to read and change, never inserted on its own; what comes back is tidied (one paragraph, no wrapping quotes, at most 500 characters).

Where files go

Decided in this order: a provider, an uploadHandler, a REST backend (apiUrl), or, with none of those, the document itself (data URLs).

import { MediaManagerPlugin, setMediaManagerConfig } from "@editora/media-manager";

// 1. A function: receive the file, report progress, return the URL
setMediaManagerConfig({
  uploadHandler: async (file, { onProgress, signal }) => {
    const { url } = await myStorage.upload(file, { signal, onProgress: (f) => onProgress?.({ loaded: f, total: 1, fraction: f }) });
    return url; // or { url, width, height, thumbnailUrl }
  },
});

// 2. A REST backend (see CUSTOM_SERVER_UPLOAD.md for the format it answers)
setMediaManagerConfig({
  apiUrl: "https://your-api.example.com",
  apiEndpoints: { upload: "/media/upload" }, // library and delete keep their defaults
  headers: { Authorization: "Bearer ..." },
  maxFileSize: 20 * 1024 * 1024,
  allowedTypes: ["image/*", "video/mp4"],
});

// Or give the settings to one plugin instance; they win over the global ones
const plugins = [MediaManagerPlugin({ uploadHandler })];

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @editora/media-manager

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229