CVE-2017-1000491: Shiba Markdown Live Preview App XSS Code Execution

shiba Updated 02 Oct 2025

Summary

14/05/2022
Yes i
Moderate
6.1

CVE-2017-1000491: Shiba vulnerable to XSS leading to code execution. Affects shiba versions < 1.1.1. Fixed in 1.1.1. 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

Shiba is a markdown live preview app that provides users with the ability to preview their markdown files in real-time. It is an npm package that enables node integration. Shiba version 1.1.0 is vulnerable to a cross-site scripting (XSS) attack, which can lead to code execution.

Vulnerability Detail

The vulnerability in Shiba version 1.1.0 is due to the enabled node integration, which allows an attacker to inject malicious code through a crafted XSS payload. This can result in the execution of arbitrary code within the context of the application, potentially leading to further compromise of the system. The severity of this vulnerability is rated as MODERATE with a CVSS score of 6.1.

How To Fix

Latest published version: 1.2.1 as of 23 Oct 2026

npm install shiba@1.2.1

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

If you need the minimum change

1.1.1

This is the first release that contains the fix.

npm install shiba@1.1.1

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

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to update to the latest version of Shiba to mitigate the risk.

Conclusion

Shiba version 1.1.0 is vulnerable to an XSS attack that can lead to code execution. It is crucial to update to version 1.1.1 or later to mitigate this vulnerability. For more assistance and guidance, reach out to DevNack.com.

See every vulnerability recorded for shiba →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary code within the context of the Shiba application, potentially leading to further compromise of the system.

There is no known exploit available for this vulnerability at the moment.

No, only Shiba version 1.1.0 is affected. Versions 1.1.1 and later have addressed the vulnerability.

Yes, the CVSS score for this vulnerability is 6.1, indicating a moderate severity.

For further information and support on vulnerability remediation, you can contact info@devnack.com.

Related vulnerabilities

Recent vulnerabilities recorded for shiba.

How To Fix

Latest published version: 1.2.1 as of 23 Oct 2026

npm install shiba@1.2.1

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

If you need the minimum change

1.1.1

This is the first release that contains the fix.

npm install shiba@1.1.1

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