beautiful-mermaid < 0.1.3 SVG Attribute Injection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| lukilabs | beautiful-mermaid | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Lukilabs | Beautiful-mermaid |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cgmm-x5ww-q5cr | beautiful-mermaid contains an SVG attribute injection issue that can lead to cross-site scripting (XSS) |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.801% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Lukilabs
Lukilabs beautiful-mermaid |
|
| Vendors & Products |
Lukilabs
Lukilabs beautiful-mermaid |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | beautiful-mermaid versions prior to 0.1.3 contain an SVG attribute injection issue that can lead to cross-site scripting (XSS) when rendering attacker-controlled Mermaid diagrams. User-controlled values from Mermaid style and classDef directives are interpolated into SVG attribute values without proper escaping, allowing crafted input to break out of an attribute context and inject arbitrary SVG elements/attributes into the rendered output. When the generated SVG is embedded in a web page, this can result in script execution in the context of the embedding origin. | |
| Title | beautiful-mermaid < 0.1.3 SVG Attribute Injection | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|