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

pptx-angular-viewer

Latest version: v5.2.1

Overview

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

Scan summary

pptx-angular-viewer was last scanned on 28 Nov 2026 at version 5.2.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 184 versions; the latest 4 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 5.2.1.
  • Downloads: 9,019 downloads.

Versions

184 versions published
Versions and the rules that fired in each
VersionPublishedStatus
5.2.1 LATEST 28 Nov 2026 No rules fired
5.2.0 27 Nov 2026 No rules fired
5.1.2 25 Nov 2026 No rules fired
5.1.0 25 Nov 2026 Not shown
5.0.0 21 Nov 2026 Not shown

No rules fired in 5.2.1

Findings

Findings for v5.2.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 5.2.1; other versions have their own rules, not their own score.

README

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

pptx-angular-viewer

A standalone Angular component (<pptx-viewer>) that opens, edits, presents and saves PowerPoint files (.pptx, .pptm, .ppsx, .potx and legacy .ppt) in the browser, with no server.

npm version license types

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

Exploring the Insert and View ribbon tabs in the Angular demo

Install

npm install pptx-angular-viewer
npm install @angular/core @angular/common @angular/platform-browser rxjs @ngx-translate/core

The second line is the required peers: Angular 19, 20, 21 or 22, rxjs ^7.8.0 and @ngx-translate/core 18. The engine comes with it (pptx-viewer-core and ooxml-ui are dependencies). The component is built on signals and OnPush, works without Zone.js and needs no NgModule. Optional peers:

For Add
Real-time collaboration yjs with y-websocket or y-webrtc
3D models, 3D SmartArt and 3D charts three 0.187
The AI assistant panel ai (6 or 7)

Without them those features stay off and everything else works.

Quick start

Add the stylesheet to the styles array of your build target in angular.json (or @import it at the top of src/styles.css). Do not import it from TypeScript: the application builder writes CSS imported that way to a file index.html never links.

"styles": ["pptx-angular-viewer/styles.css", "src/styles.css"]

Every label goes through @ngx-translate/core, so provide it and register the viewer's English dictionary:

// main.ts
import { bootstrapApplication } from '@angular/platform-browser';
import { provideTranslateService } from '@ngx-translate/core';

import { AppComponent } from './app.component';

bootstrapApplication(AppComponent, {
    providers: [provideTranslateService({ lang: 'en', fallbackLang: 'en' })],
});
// app.component.ts
import { Component, inject, signal, viewChild } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { PowerPointViewerComponent, translationsEn } from 'pptx-angular-viewer';

@Component({
    selector: 'app-root',
    imports: [PowerPointViewerComponent],
    template: `
        <div style="height: 100vh">
            @if (content()) {
                <pptx-viewer [content]="content()" [canEdit]="true" />
            } @else {
                <input type="file" accept=".pptx,.ppt" (change)="onPick($event)" />
            }
        </div>
    `,
})
export class AppComponent {
    readonly content = signal<Uint8Array | null>(null);
    private readonly viewer = viewChild(PowerPointViewerComponent);

    constructor() {
        inject(TranslateService).setTranslation('en', translationsEn);
    }

    async onPick(event: Event) {
        const file = (event.target as HTMLInputElement).files?.[0];
        if (file) this.content.set(new Uint8Array(await file.arrayBuffer()));
    }

    async save() {
        const bytes = await this.viewer()?.getContent(); // the edited .pptx
    }
}

content takes a Uint8Array or an ArrayBuffer. The viewer fills its parent, so give the parent a height.

Props

The most used inputs. Every binding takes the same set; the inputs reference has all of them.

Input What it does
content The deck's bytes (Uint8Array or ArrayBuffer).
canEdit, readOnly Turn editing on, or force the deck read-only (readOnly wins).
initialSlide, showToolbar, showThumbnails Starting slide and which chrome to show.
theme, defaultThemeKey, availableThemes Viewer chrome colours and radius, and the File > Options appearance choices.
defaultLocale, availableLocales The starting UI language and the languages offered.
customization, hiddenActions, ribbonAddIns Hide, lock or remap ribbon tabs, commands, options, menus, shortcuts and panels; add your tabs.
fonts, googleFonts Supply licensed fonts; turn off or redirect web font downloads.
allowExternalContent Fetch a deck's linked pictures and media without asking (true) or block them (false).
limits Bound the work a load may do, for decks you do not trust.
collaboration, shareDefaults Join or seed a real-time session.
storage, fileProviders, autosave Save to your own storage or a cloud provider, and control recovery autosave.
ai The optional assistant, from createAiAssistant in pptx-angular-viewer/ai.
fitPadding, maxFitScale How the slide fits its viewport.

The component instance has getContent, navigation (goTo, goNext, goPrev), zoom (setZoom, zoomIn, zoomOut), setMode, undo, redo, isDirty, and the slide and element API (getSlides, addSlide, deleteSlides, addElement, updateElement, deleteElements, selectElements). See the API.

Events

Outputs, most used first: (contentChange) (the edited bytes), (dirtyChange), (activeSlideChange), (selectionChange), (load), (error), (documentChange), (modeChange), (zoomChange), (slideCountChange), (autosaved), (collaborationChange) and (pdfExportReport). A few host callbacks are inputs instead: onOpenFile, onHyperlinkClick, onThemeChange, onLocaleChange and onElementRenderError. See the inputs reference.

Your own UI

createViewerBuildingBlocks with VIEWER_BUILDING_BLOCKS_PROVIDERS runs the viewer's editor services behind <pptx-building-blocks-canvas>, <pptx-building-blocks-toolbar> and <pptx-slides-pane>, so you can place them in your own layout and answer picker and dialog requests with your own UI. See building blocks and the services reference.

Theming

The chrome inherits the shared --office-* tokens: put data-office-theme="light", "dark" or "auto" on a containing element, or set tokens such as --office-accent there. The [theme] input (a partial ViewerTheme) overrides them through the viewer's --pptx-* properties, and provideViewerTheme(theme) in bootstrapApplication themes the whole app; vermilionLightTheme and vermilionDarkTheme are ready-made. See theming.

Localisation

English, French, Spanish, German, Simplified Chinese, Japanese and Korean. translationsEn, keyToLabel (for a MissingTranslationHandler) and LOCALE_CATALOG come from the package root, and the other dictionaries from pptx-angular-viewer/i18n/fr, /es, /de, /zh-CN, /ja and /ko: register them with setTranslation and switch with use('fr'). See localisation.

Status and limits

PowerPoint carries no stability label yet: it has not been assessed against the stability policy.

  • Saving keeps the parts you did not touch, but saving an edited slide can still rewrite minor markup; it is not a lossless round trip.
  • Some effects are approximated (3D materials, some WordArt warps, SmartArt without its cached drawing). A deck that uses an approximated construct reports it as a load warning.
  • The editor covers a subset of PowerPoint: Remove Background, narration, Notes Master, Handout Master, Notes Page view, Grayscale views and Designer are not there yet.
  • OneDrive stores files through an adapter whose sign-in your host provides; there is no Office co-authoring.

See the limitations page and the Office parity checklist.

Privacy and network use

The viewer renders and saves decks in the browser and never uploads them. Nothing collects analytics or telemetry. It contacts other servers only in these cases:

  • Web fonts (on by default). A font that is neither installed nor embedded, when the bundled Google Fonts catalogue serves it or a stand-in, is downloaded from fonts.googleapis.com and fonts.gstatic.com; Google sees the reader's IP address and the family names. Set googleFonts to false to turn it off, or to { baseUrl } to use your own mirror; readers can turn it off in File > Options > Trust Center. Offline, the deck opens with substitute fonts.
  • Linked pictures and media (off by default). Fetched only after the reader chooses Enable Content on the security bar, or always with allowExternalContent set to true; false blocks them without the bar.
  • Share and Broadcast (only when started). Updates go to the server you configure; without one, peers meet through y-webrtc's public signalling server and public STUN servers. Pass your own collaboration.signaling list to avoid them.
  • AI assistant (off unless you pass ai). Requests go to the connection you configure, with the conversation and deck context (contextStrategy: 'none' sends no deck context).
  • Links (hyperlinks, Microsoft Forms responses) open only when clicked, in a new tab without opener or referrer. file: and ftp: links never open, and relative links (notes.html, #part) open, against your page's address, only after you call setOpenRelativeHyperlinks(true) from ooxml-ui/pptx.

Autosave, recovery and preferences stay on the device (IndexedDB and localStorage). The full list, including Ink to Math and the camera, is in PRIVACY.md.

Browser support

  • The last two major versions of Chrome, Edge, Firefox and Safari; Safari 16.4 at least (browser support).
  • Angular 19, 20, 21 or 22, with or without Zone.js.
  • Node.js 22.3 or newer to install and build (the Angular CLI may ask for more).

Documentation and demos

License

Apache-2.0. Keep the NOTICE file with redistributions.

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 pptx-angular-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

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

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229