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

libreoffice-convert

Latest version: v1.9.1

Overview

Last scanned
30 Oct 2026
Published
30 Oct 2026
npm package Publisher: elwerene
315 Stars
107 Forks
2 Versions
854.5K Downloads
JavaScript Repo language

Scan summary

libreoffice-convert was last scanned on 30 Oct 2026 at version 1.9.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 30 Oct 2026.
  • Findings: No rules fired in version 1.9.1.
  • Downloads: 854,461 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.9.1 LATEST 30 Oct 2026 No rules fired
1.9.0 30 Oct 2026 No rules fired

No rules fired in 1.9.1

Findings

Findings for v1.9.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 1.9.1; other versions have their own rules, not their own score.

Known vulnerabilities

1 CVE · last 27 Aug 2026

0 CRITICAL 0 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 1.8.2
  • < 1.8.2 1 MEDIUM

Vulnerabilities

  • CVE-2026-54732 Medium 27 Aug 2026 libreoffice-convert vulnerable to path traversal / arbitrary file write Fixed in 1.8.2

README

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

libreoffice-convert

A simple and fast node.js module for converting office documents to different formats.

Dependency

Please install libreoffice in /Applications (Mac), with your favorite package manager (Linux), or with the msi (Windows) (On Windows, add PROGRAMFILES environment variable for Windows program files path to your local project)

Usage example

'use strict';

const path = require('path');
const fs = require('fs').promises;

const libre = require('libreoffice-convert');
libre.convertAsync = require('util').promisify(libre.convert);

async function main() {
    const ext = '.pdf'
    const inputPath = path.join(__dirname, '/resources/example.docx');
    const outputPath = path.join(__dirname, `/resources/example${ext}`);

    // Read file
    const docxBuf = await fs.readFile(inputPath);

    // Convert it to pdf format with undefined filter (see Libreoffice docs about filter)
    let pdfBuf = await libre.convertAsync(docxBuf, ext, undefined);

    // Here in done you have pdf file which you can save or transfer in another stream
    await fs.writeFile(outputPath, pdfBuf);
}

main().catch(function (err) {
    console.log(`Error converting file: ${err}`);
});

Options

convertWithOptions(document, format, filter, options, callback) accepts these options:

  • tmpOptions – options passed to tmp when creating temp directories
  • asyncOptions – { times, interval } retry options for reading the converted file
  • execOptions – options passed to child_process.execFile
  • fileName – name (with extension) used for the source file, helps LibreOffice detect the input format
  • sofficeBinaryPaths – extra paths to look for the soffice binary
  • sofficeAdditionalArgs – extra command-line arguments passed to soffice
  • profileTemplate – path to an existing LibreOffice user profile directory. It is copied into the fresh per-conversion profile, so soffice skips creating a new profile on every run, which speeds up conversions. The template itself is never modified.

A profile template can be generated once by converting any small file with a dedicated profile directory:

echo hello > seed.txt
soffice -env:UserInstallation=file:///path/to/profile-template --headless --convert-to pdf seed.txt

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 libreoffice-convert

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

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?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229