{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-4052", "STATE": "PUBLIC", "TITLE": "Stored XSS through template injection in Wiki.js" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Wiki.js", "version": { "version_data": [ { "version_value": "< 2.4.107" } ] } } ] }, "vendor_name": "Requarks.io" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "In Wiki.js before 2.4.107, there is a stored cross-site scripting through template injection. This vulnerability exists due to an insecure validation mechanism intended to insert v-pre tags into rendered HTML elements which contain curly-braces. By creating a crafted wiki page, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to execute malicious JavaScript when the page is viewed by other users. This has been patched in 2.4.107." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 6.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/Requarks/wiki/security/advisories/GHSA-9jgg-4xj2-vjjj", "refsource": "CONFIRM", "url": "https://github.com/Requarks/wiki/security/advisories/GHSA-9jgg-4xj2-vjjj" }, { "name": "https://github.com/Requarks/wiki/commit/9e08718ee904046f8b2294ef6ac79e8a75a451e3", "refsource": "MISC", "url": "https://github.com/Requarks/wiki/commit/9e08718ee904046f8b2294ef6ac79e8a75a451e3" } ] }, "source": { "advisory": "GHSA-9jgg-4xj2-vjjj", "discovery": "UNKNOWN" } }