Advisory Published
Updated

REDHAT-BUG-2266111

First published: Mon Feb 26 2024(Updated: )

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server. <a href="https://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf">https://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf</a> <a href="https://github.com/apostrophecms/apostrophe/discussions/4436">https://github.com/apostrophecms/apostrophe/discussions/4436</a> <a href="https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4">https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4</a> <a href="https://github.com/apostrophecms/sanitize-html/pull/650">https://github.com/apostrophecms/sanitize-html/pull/650</a> <a href="https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334">https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334</a>

Affected SoftwareAffected VersionHow to fix
ApostropheCMS<2.12.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 the severity of REDHAT-BUG-2266111?

    The severity of REDHAT-BUG-2266111 is classified as critical due to the potential for information exposure.

  • How do I fix REDHAT-BUG-2266111?

    To fix REDHAT-BUG-2266111, update the sanitize-html package to version 2.12.1 or later.

  • What causes the vulnerability in REDHAT-BUG-2266111?

    The vulnerability in REDHAT-BUG-2266111 is caused by allowing the style attribute on the backend, which can lead to information exposure.

  • Which applications are affected by REDHAT-BUG-2266111?

    Applications using sanitize-html versions prior to 2.12.1 are affected by REDHAT-BUG-2266111.

  • What can an attacker do with exploit REDHAT-BUG-2266111?

    An attacker exploiting REDHAT-BUG-2266111 could enumerate files in the system, including project dependencies.

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