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

xlsx-vue-viewer

Latest version: v2.1.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: christophervr
46 Stars
13 Forks
26 Versions
1.4K Downloads
TypeScript Repo language

Scan summary

xlsx-vue-viewer was last scanned on 28 Nov 2026 at version 2.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 26 versions; the latest 2 were published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 2.1.1.
  • Downloads: 1,415 downloads.

Versions

26 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.1.1 LATEST 28 Nov 2026 No rules fired
2.1.0 27 Nov 2026 No rules fired
2.0.0 21 Nov 2026 No rules fired
1.5.0 13 Nov 2026 Not shown
1.4.1 6 Nov 2026 Not shown

No rules fired in 2.1.1

Findings

Findings for v2.1.1. 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 2.1.1; other versions have their own rules, not their own score.

README

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

xlsx-vue-viewer

The Excel spreadsheet editor as a Vue 3 component: open, edit, calculate and save .xlsx, .xlsm, .xltx, legacy .xls and .csv files in the browser.

npm version license types

Live demo · Documentation · Vue guide · Changelog · Report a bug

The Excel editor in use: selecting a range, inserting a column chart, adding a SUM formula and changing values while the chart and the total update

Install

npm install xlsx-vue-viewer vue
  • Peer dependency: vue ^3.5.0.
  • Bundled: the <xlsx-editor> web component and the Vue adapter. Installed with it: @christophervr/xlsx-core (the workbook model, re-exported from this package), ooxml-core and ooxml-ui.
  • Use one Excel editor package per application: each registers the same <xlsx-editor> element.

Quick start

<script setup lang="ts">
import { shallowRef } from 'vue';
import { SpreadsheetEditor, type EditorHandle } from 'xlsx-vue-viewer';

const editor = shallowRef<EditorHandle>();
const readOnly = shallowRef(false);
</script>

<template>
    <button @click="editor?.download('Budget.xlsx')">Download</button>
    <SpreadsheetEditor
        ref="editor"
        v-model:readOnly="readOnly"
        src="/files/budget.xlsx"
        file-name="Budget.xlsx"
        style="height: 80vh"
        @dirty-change="(dirty: boolean) => console.log('unsaved edits:', dirty)"
    />
</template>

Give the component a height (style and class fall through to its host <div>): the editor fills it and scrolls inside it. Hold a workbook prop in a shallowRef; deep reactivity on a workbook only costs time. There is no stylesheet to import: the element carries its own styles. Without src, bytes or workbook the editor starts with a blank workbook.

Props

Prop What it does
workbook, bytes, src, fileName What to show: a workbook model, file bytes or a URL, and the name used by the title bar, Save and Download (default Book1.xlsx).
readOnly Opens in Viewing mode (default false).
locale Interface language (see Localisation).
theme, themeColors light, dark or auto (default), and --xve-* token overrides (see Theming).
showToolbar, showFormulaBar Show or hide the ribbon and the formula bar (both default true).
hiddenActions, ribbonAddIns Hide ribbon commands by stable id, or add your own tabs after Excel's.
customization Capabilities, hidden ribbon tabs (File included), extra File pages and context-menu commands.
storage, fileProviders Send File > Save and Open to your own storage, and add OneDrive or your own cloud places to File > Open.
collaboration Join a shared room while set; null leaves it.
imageProvider Opt in to IMAGE formulas with your own fetcher (without one they show #BLOCKED!).
googleFonts Turn font downloads off (false) or point them at Google Fonts or your mirror ({ baseUrl }); unset leaves it to the reader (off by default).
authorName, validateReplace The author of new comments (default Author), and whether Replace applies data validation (default false).

Props are forwarded only when their value changes, so a re-render never undoes what the user changed inside the editor (Editing or Viewing, theme, language, Customize Ribbon). Keep customization, fileProviders and ribbonAddIns stable between renders.

The template ref is the editor handle. v-model:readOnly mirrors the user's Editing / Viewing switch, never a collaboration role lock. The handle has load(bytes, fileName?), newWorkbook(), save(), saveBytes('xlsx' | 'csv'), download(fileName?), markClean(), openCloudFile(file), select(ref), getSelection(), setActiveSheet(index), share(), and the dirty and element properties. A method called before the editor has mounted throws Editor is not mounted.

Full reference: framework bindings and the element API.

Events

Event Receives
@workbook-change The edited Workbook.
@dirty-change true while there are unsaved edits.
@workbook-error An Error when a file or a src fetch fails to open.
@file-command The cancelable file-command event: call event.preventDefault() to run New, Open, Save, Print and the rest yourself.
@selection-change { sheet, ref, active }.
@sheet-change { index, name } of the new active sheet.
@readonly-change (readOnly, { readOnly, locked, hostReadOnly }); or use v-model:readOnly.
@workbook-warning The loader's notes about content it could not read.
@ribbon-action { id } of a command that ran.
@ribbon-customize The new hidden-action list after Customize Ribbon.
@office-ribbon-add-in { tab, command } of a host tab command.
@collaboration-change The sharing state.
@ready The <xlsx-editor> element, once mounted.

See callbacks and events.

Open and save files

The editor opens .xlsx, .xlsm (macros never run), .xltx, password-protected workbooks, legacy .xls and .csv; .xls and .csv are saved as .xlsx. save() resolves to an .xlsx Blob and does not clear dirty: call markClean() once you have stored it, or use download(), which does both. saveBytes('csv') exports the active sheet. The model API (createWorkbook, loadWorkbook, saveWorkbook, detectWorkbookFormat and the rest of @christophervr/xlsx-core) is re-exported here, so headless work needs no second install. The editor mounts in onMounted, so the component is safe in server-rendered apps.

Theming

theme picks light, dark or auto, and themeColors sets --xve-* tokens on the editor (for example { primary: '#1f9d63', radius: '6px' }). The chrome also follows the shared --office-* tokens and a data-office-theme attribute on any ancestor; install them once with installOfficeUiTheme() from ooxml-ui/theme. Theme changes never alter workbook colours. See theming.

Localisation

The interface is available in English (en, the default, built in), French (fr), German (de), Spanish (es) and Simplified Chinese (zh-CN), set with locale. A tag that maps to one (de-DE, zh-Hans) works; any other falls back to English. Other languages load on demand. Workbook content and function names are never translated. See localization.

Status and limits

Excel is Stable under the stability policy: a frozen API under semver, a preservation guarantee and native Excel save and reopen checks. It does not match Microsoft Excel feature for feature.

  • .xlsb and .ods do not open.
  • Macros never run (a .xlsm keeps its VBA project). External links, data connections and Power Query are kept with their cached values and never refreshed.
  • PivotTables from external or OLAP sources and advanced pivot filters are kept but not editable; the sparkline style gallery is missing.
  • Ink is drawn, erased and saved as Excel ink from the Draw tab, with the Ruler, and shared in a shared workbook (Ink to Math needs a handwriting recognizer the host supplies with setInkMathRecognizer; none is built in). Older OLE objects show as placeholders; form controls cannot be moved or resized, and buttons run no macro.
  • In a shared room, pictures, ink, other drawings, page setup and PivotTables are not shared.

See features and limitations and the parity checklist.

Privacy and network use

Workbooks open, calculate, render, edit and save on the device. Nothing is uploaded, and nothing collects analytics or telemetry.

  • Same-origin assets. Workers, the selected non-English language, and chart, PivotTable, picture and shape tool code load on demand from your app's origin, carrying only the asset URL. Keep locale at en to skip language requests.
  • Fonts. Off by default. Fonts the device lacks are downloaded from fonts.googleapis.com and fonts.gstatic.com only when the reader turns on File > Options > Trust Center "Download fonts that are not installed or embedded", or the host sets the googleFonts prop: false turns downloads off and locks the toggle, { baseUrl } points at Google Fonts or your own mirror. Only public font family names are sent.
  • Linked content. Linked pictures are not fetched, external links and linked data are not refreshed, and WEBSERVICE is not evaluated. IMAGE formulas fetch only through an imageProvider you pass.
  • Destinations you choose. src fetches the URL you pass; sharing (collaboration, or a server URL the reader types in File > Share) talks only to that server, and without one connects tabs of the same browser only; OneDrive and other fileProviders only when you add them. Hyperlinks and the Forms link open only when the reader follows them.
  • On the device. Small preferences, such as the font-download choice (ooxml.xlsx.allowFontDownloads), stay in localStorage.

See PRIVACY.md.

Browser support

The last two major versions of Chrome, Edge, Firefox and Safari, and Safari 16.4 at least (browser support). Vue 3.5 or newer. Node.js 22.3 or newer for builds, tests and server rendering. A slow calculation on open runs in a module worker from your origin, so a Content Security Policy must allow worker-src 'self'; without workers it runs on the page under the same time limit.

Documentation and demos

License

Apache-2.0. See NOTICE for attributions.

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 xlsx-vue-viewer

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229