Skip to content

Modernize Web App Markdown Parser (Showdown to Marked)#1295

Open
inlined wants to merge 1 commit into
mainfrom
inlined/showdown-marked-migration
Open

Modernize Web App Markdown Parser (Showdown to Marked)#1295
inlined wants to merge 1 commit into
mainfrom
inlined/showdown-marked-migration

Conversation

@inlined

@inlined inlined commented Jun 16, 2026

Copy link
Copy Markdown
Member

1. Original CVEs

GHSA-2mjp-6q6p-2qxm, GHSA-2pr8-phx7-x9h3, GHSA-4992-7rv2-5pvq, GHSA-66ff-xgx4-vchm, GHSA-685m-2w69-288q, GHSA-75px-5xx7-5xc7, GHSA-c76h-2ccp-4975, GHSA-cxrh-j4jr-qwg3, GHSA-f269-vfmq-vjvj, GHSA-fx83-v9x8-x52w, GHSA-g78m-2chm-r7qv, GHSA-g9mf-h72j-4rw9, GHSA-gv7w-rqvm-qjhr, GHSA-jggg-4jg4-v7c6, GHSA-jvwf-75h9-cwgg, GHSA-mw96-cpmx-2vgc, GHSA-q6x5-8v7m-xcrf, GHSA-qx2v-qp2m-jg93, GHSA-rmmh-p597-ppvv, GHSA-v9p9-hfj2-hcw8, GHSA-vrm6-8vpv-qv8q, GHSA-xffm-g5w8-qvg7, GHSA-xq3m-2v4x-88gg

2. CVEs Fixed

21 vulnerabilities fully eliminated, notably GHSA-rmmh-p597-ppvv (The direct showdown parser ReDoS vulnerability).

3. CVEs Introduced

None

4. CVEs Remaining

GHSA-25h7-pfq9-p65f, GHSA-rf6f-7fwh-wjgh

Remaining Vulnerable Transitive Dependencies:

  • flatted -> Base package: vite (via rollup)

5. Changes Made

  • Uninstalled showdown completely from the frontend web application.
  • Installed the highly secure, actively maintained marked (^12.0.2) markdown library, updating frontend rendering scripts (main.ts) to use await marked.parse().

6. Automated Test Strategy

Executed the complete frontend application production build pipeline (npm run build -> vite build) to confirm 100% clean TypeScript compilation, asset bundling, and zero module externalization runtime errors.

@gemini-code-assist

Copy link
Copy Markdown

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@wiz-9635d3485b

wiz-9635d3485b Bot commented Jun 16, 2026

Copy link
Copy Markdown

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@inlined inlined force-pushed the inlined/showdown-marked-migration branch 4 times, most recently from 49174fe to 628d63d Compare June 18, 2026 04:29
@inlined inlined force-pushed the inlined/showdown-marked-migration branch from 628d63d to c76d6ae Compare June 18, 2026 05:27
@inlined inlined requested a review from jhuleatt June 18, 2026 05:43
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.

1 participant