GHSA-CXM3-V4MV-6MH8
Vulnerability from github – Published: 2022-01-28 22:04 – Updated: 2023-09-12 19:28
VLAI?
Summary
vditor Vulnerable to Cross-site Scripting in SVG events
Details
vditor does not filter user input in SVG events, leading to XSS
PoC
</a>
<svg><animate onbegin=alert(11) attributeName=x dur=1s>
Severity ?
5.4 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "vditor"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.11"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-4103"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2022-01-28T21:55:58Z",
"nvd_published_at": "2022-01-23T02:15:00Z",
"severity": "MODERATE"
},
"details": "vditor does not filter user input in SVG events, leading to XSS \n\n### PoC\n\n```html\n\u003c/a\u003e\n\u003csvg\u003e\u003canimate onbegin=alert(11) attributeName=x dur=1s\u003e\n```",
"id": "GHSA-cxm3-v4mv-6mh8",
"modified": "2023-09-12T19:28:09Z",
"published": "2022-01-28T22:04:11Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4103"
},
{
"type": "WEB",
"url": "https://github.com/Vanessa219/vditor/issues/1133"
},
{
"type": "WEB",
"url": "https://github.com/vanessa219/vditor/commit/8d4d0889dd72b2f839e93a49db3da3a370416c7d"
},
{
"type": "PACKAGE",
"url": "https://github.com/vanessa219/vditor"
},
{
"type": "WEB",
"url": "https://huntr.dev/bounties/67b980af-7357-4879-9448-a926c6474225"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "vditor Vulnerable to Cross-site Scripting in SVG events"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…