Security mailing lists by PureSourceCode

CVE-2024-21535

MEDIUM 6.1CVSS 3.1

Cross site scripting in markdown-to-jsx

Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown.

Published
15 Oct 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-4wx3-54gh-9fr9
Sources
NVDJSONOSV GHSA-4wx3-54gh-9fr9JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD quantizor markdown-to-jsx
cpe:2.3:a:quantizor:markdown-to-jsx:*:*:*:*:*:*:*:*
< 7.4.0 7.4.0
OSV npm markdown-to-jsx < 7.4.0 7.4.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Oct 2024)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.