synced 9 MIN AGO
01 Record

CVE-2021-43861

Incorrect sanitisation function leads to `XSS`

HighPUBLISHEDCNA: GitHub_M
CNA base score7.2 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

02 Description

Incorrect sanitisation function leads to `XSS`

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
0.93% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 60.5% of scored records. A rank, not a probability.
NVD base score
5.4 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-12-30 13:40Z4 YR AGO
Last updated
2024-08-04 04:10Z2 YR AGO
Reserved
2021-11-16
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 7.2)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-20Improper Input ValidationClass
  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
Data version
5.1
Document digest
79f313b757450c91d1e5f6fd9081e7acfc3c9ddffdf103c7eb295b3381a07043

05 Affected products

VendorProductVersionsPlatforms
mermaid-jsmermaid< 8.13.8—

06 References

07 Fixed in

Debian 14

  • node-mermaid
    Fixed in 8.13.8+~cs10.4.16-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • node-mermaid
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • node-mermaid
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.