CVE-2020-4052CWE-79

Stored XSS through template injection in Wiki.js

Medium · published June 16, 2020

CVSS v3.1
6.3
EPSS
1%
Percentile
57.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00835 · 57.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2020-06-16T21:55Z
EPSS history
Timeline
  • 16 JUN 21:55Z
    Stored XSS through template injection in Wiki.js
    cvelistv5