CVE-2020-4052: Stored XSS through template injection in Wiki.js

Published Jun 16, 2020
·
Updated

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.

Affected Software

1 affected component
Requarks Wiki.js<2.4.107

Event History

Jun 16, 2020
CVE Published
via MITRE·09:55 PM
Data Sourced
via MITRE·09:55 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the vulnerability ID for this Wiki.js vulnerability?

The vulnerability ID for this Wiki.js vulnerability is CVE-2020-4052.

2

What is the severity level of CVE-2020-4052?

The severity level of CVE-2020-4052 is medium.

3

How does CVE-2020-4052 occur?

CVE-2020-4052 occurs due to an insecure validation mechanism intended to insert v-pre tags into rendered HTML elements which contain curly-braces.

4

What is the affected software version for CVE-2020-4052?

The affected software version for CVE-2020-4052 is Wiki.js before 2.4.107.

5

What is the fix for CVE-2020-4052?

To fix CVE-2020-4052, update Wiki.js to version 2.4.107 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203