Skip to content

fix: security - upgrade markdown-it to 15.0.3 and vite to 8.3.4 - #560

Merged
jaredwray merged 2 commits into
mainfrom
cursor/security-markdown-it-vite-2b8d
Oct 26, 2026
Merged

jaredwray merged 2 commits into
mainfrom
cursor/security-markdown-it-vite-2b8d

Conversation

@jaredwray

@jaredwray jaredwray commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Security fix. Existing Vitest coverage covers this upgrade; no new tests. The README JavaScript benchmark tables are refreshed for markdown-it 15.0.3.

Packages

markdown-it 15.0.1 → 15.0.3

Direct devDependency specifier ^15.0.1 → ^15.0.3. The lockfile resolves that copy to 15.0.3 (published 2026-10-16, outside the 7-day minimumReleaseAge window). No override and no minimumReleaseAgeExclude.

That copy also pulls argparse@3.0.3 and entities@8.1.0. The 3.0.0 and 8.0.0 copies stay for markdown-it 15.0.2.

Advisories fixed by 15.0.3:

vite 8.2.1 → 8.3.4

Dev-only, through vitest@5.0.0 (vite@^6.4.0 || ^7.0.0 || ^8.0.0) and @vitest/mocker. Lockfile refresh only. Vite is not a direct dependency, and nothing pins an exact vulnerable version, so there is no override.

8.3.5 (published 2026-10-21) is still inside the 7-day cooldown. 8.3.4 (published 2026-10-08) is the newest release outside that window and is already past the 8.3.3 fix. No minimumReleaseAgeExclude.

Vite 8.3.4 depends on rolldown@1.2.14. tsdown still resolves rolldown@1.2.7.

Advisory:

  • GHSA-587h-7wmj-h5pm / CVE-2026-112942 — launch-editor fs.existsSync() existence check can be bypassed on Windows, which can lead to OS command injection. Affected on the 8.2 line through 8.2.3 and on the 8.3 line through 8.3.2. Fixed in vite 8.3.3 (and 8.2.4 on the previous line).

README benchmarks

pnpm benchmark was run against markdown-it 15.0.3 and marked 18.0.12. The JavaScript comparison tables in README.md now record that run (October 26, 2026, Node.js v22.22.2). On the minimal profile, cached Writr sync is 99K ops/sec, marked is 40K ops/sec, and markdown-it 15.0.3 is 28K ops/sec. The September 28 writr-rs tables are unchanged.

Left on purpose

  • markdown-it@15.0.2 via @jaredwray/fumanchu@4.7.4 (markdown-it@^15.0.2). That copy stays until a fumanchu release that depends on 15.0.3. fumanchu main already has 15.0.3. This PR does not bump fumanchu, ecto, or docula.
  • Existing minimumReleaseAgeExclude entries for zod@4.6.6 and zod@4.6.7 are unchanged.

Publishing an npm release after merge is a separate decision. This PR does not publish, release, or deploy.

Open in Web Open in Cursor 

Direct markdown-it moves from 15.0.1 to 15.0.3. Vitest's vite
dependency refreshes from 8.2.1 to 8.3.4. The fumanchu copy stays
on markdown-it 15.0.2.

Co-authored-by: Jared Wray <me@jaredwray.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T14:20:03.914321Z 56c358a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@socket-security

socket-security Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​markdown-it@​15.0.1 ⏵ 15.0.3100 +1100 +2387 +192100

View full report

@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c1066bd) to head (908f0cb).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #560   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          515       515           
  Branches       144       144           
=========================================
  Hits           515       515           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Re-run pnpm benchmark and record the JavaScript comparison, including
markdown-it 15.0.3 and marked 18.0.12, next to the native tables.

Co-authored-by: Jared Wray <me@jaredwray.com>
@jaredwray
jaredwray merged commit 82979d6 into main Oct 26, 2026
32 checks passed
@jaredwray
jaredwray deleted the cursor/security-markdown-it-vite-2b8d branch October 26, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants