CWE
79
Advisory Published
Advisory Published
Updated

CVE-2023-49146: XSS

First published: Wed Nov 22 2023(Updated: )

DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.

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

Affected SoftwareAffected VersionHow to fix
Getgrav Dom-sanitizer<1.0.7
composer/rhukster/dom-sanitizer<1.0.7
1.0.7

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 vulnerability ID for DOMSanitizer?

    The vulnerability ID for DOMSanitizer is CVE-2023-49146.

  • How does DOMSanitizer allow XSS attacks?

    DOMSanitizer allows XSS attacks by mishandling comments and greedy regular expressions in SVG documents.

  • What is the affected version of DOMSanitizer?

    The affected version of DOMSanitizer is before 1.0.7.

  • How can I fix the DOMSanitizer vulnerability?

    To fix the DOMSanitizer vulnerability, update to version 1.0.7 or later.

  • What is the Common Weakness Enumeration (CWE) ID for DOMSanitizer?

    The CWE ID for DOMSanitizer is CWE-79.

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