CWE
79
Advisory Published
Updated

CVE-2022-21158: XSS

First published: Thu Mar 10 2022(Updated: )

A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: scheme) inside the document may allow an attacker to execute an arbitrary script on the PC of the user using marktext.

Credit: vultures@jpcert.or.jp

Affected SoftwareAffected VersionHow to fix
Marktext Marktext<0.17.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-21158?

    The severity of CVE-2022-21158 is medium, with a severity value of 5.4.

  • How does CVE-2022-21158 affect marktext?

    CVE-2022-21158 affects marktext versions prior to v0.17.0.

  • What is the CWE category of CVE-2022-21158?

    The CWE category of CVE-2022-21158 is CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').

  • How can I fix CVE-2022-21158?

    To fix CVE-2022-21158, update marktext to version v0.17.0 or later.

  • Where can I find more information about CVE-2022-21158?

    You can find more information about CVE-2022-21158 on the following references: [GitHub Release](https://github.com/marktext/marktext/releases/tag/v0.17.0) and [JVN](https://jvn.jp/en/jp/JVN89524240/index.html).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203