CWE
79
Advisory Published
CVE Published
Updated

CVE-2018-20583: XSS

First published: Sat Dec 29 2018(Updated: )

Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1 allows remote attackers to insert unsafe URLs into HTML (even if allow_unsafe_links is false) via a newline character (e.g., writing javascript as javascri%0apt).

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/league/commonmark>=0.15.6<0.18.1
Thephpleague Commonmark>=0.15.6<=0.18.0
composer/league/commonmark>=0.15.6<0.18.1
0.18.1

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 CVE-2018-20583?

    CVE-2018-20583 is a Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1.

  • What is the severity of CVE-2018-20583?

    The severity of CVE-2018-20583 is medium with a severity value of 6.1.

  • How does CVE-2018-20583 affect the PHP League CommonMark library?

    CVE-2018-20583 allows remote attackers to insert unsafe URLs into HTML, even if allow_unsafe_links is set to false, via a newline character.

  • How can I fix CVE-2018-20583?

    To fix CVE-2018-20583, you need to update the PHP League CommonMark library to version 0.18.1 or later.

  • What is the Common Weakness Enumeration (CWE) of CVE-2018-20583?

    The CWE of CVE-2018-20583 is CWE-79, which refers to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').

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