CVE-2026-32308: OneUptime Stored XSS via Mermaid Diagram Rendering

oneuptime Updated 14 Mar 2026

Summary

13/03/2026
Yes i
High
7.6

CVE-2026-32308: OneUptime: Stored XSS via Mermaid Diagram Rendering (securityLevel: "loose"). Affects oneuptime versions < 10.0.23. Fixed in 10.0.23. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

OneUptime is an open-source incident management platform that helps teams manage incidents and maintain system reliability. It features a Markdown viewer component that allows users to create and view incident notes, status page announcements, and monitor descriptions. However, due to a misconfiguration in the Mermaid diagram rendering, the platform is vulnerable to stored cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability arises from the Markdown viewer component rendering Mermaid diagrams with a security level set to 'loose'. This configuration allows interactive event bindings, enabling attackers to inject malicious JavaScript through the SVG output. The SVG is injected directly into the DOM using innerHTML, which can execute arbitrary JavaScript when users interact with the rendered diagrams. This poses a significant risk as it can lead to cookie theft and unauthorized actions on behalf of the user.

How To Fix

Latest published version: 4.0.69 as of 23 Oct 2026

npm install oneuptime@4.0.69

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

10.0.23

This is the first release that contains the fix.

npm install oneuptime@10.0.23

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using Mermaid diagrams in any markdown-rendered fields until the package is updated. This will prevent the execution of any potentially malicious scripts.

Conclusion

The stored XSS vulnerability in OneUptime due to the loose security configuration of Mermaid diagram rendering poses significant risks. It is crucial to update to the patched version and implement the recommended fixes to safeguard against potential attacks.

See every vulnerability recorded for oneuptime →

Share this vulnerability

FAQ

The vulnerability allows for stored XSS attacks, which can lead to cookie theft and unauthorized actions performed in the context of the affected user.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your package-lock.json for vulnerabilities.

The CVSS score of this vulnerability is 7.6, indicating a high severity level.

Yes, the vulnerability can be fixed by updating the OneUptime package to version 10.0.23 or later.

If an immediate update is not possible, refrain from using Mermaid diagrams in markdown-rendered fields as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for oneuptime.

How To Fix

Latest published version: 4.0.69 as of 23 Oct 2026

npm install oneuptime@4.0.69

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

10.0.23

This is the first release that contains the fix.

npm install oneuptime@10.0.23

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback