CVE-2018-8048: XSS

Published Mar 20, 2018
·
Updated

In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.

Affected Software

3 affected componentsFixes available
debian/ruby-loofah
2.2.3-1+deb10u12.2.3-1+deb10u22.7.0+dfsg-12.19.1-12.21.3-1
Debian Debian Linux=9.0
Loofah Project Loofah Ruby<2.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ruby-loofah to a version that resolves this vulnerability.

    Fixed in 2.2.3-1+deb10u1Fixed in 2.2.3-1+deb10u2Fixed in 2.7.0+dfsg-1Fixed in 2.19.1-1Fixed in 2.21.3-1

Event History

Mar 20, 2018
Data Sourced
09:15 AM
SeverityAffected Software
Mar 27, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-8048?

The severity of CVE-2018-8048 is considered medium due to the potential exposure of non-whitelisted HTML attributes in sanitized output.

2

How do I fix CVE-2018-8048?

To fix CVE-2018-8048, update the Loofah gem to version 2.2.3 or later, or apply the relevant security patches provided by your distribution.

3

What versions of Loofah are affected by CVE-2018-8048?

CVE-2018-8048 affects Loofah gem versions up to and including 2.2.0.

4

What are the implications of not addressing CVE-2018-8048?

Not addressing CVE-2018-8048 may lead to security issues where malicious HTML attributes are improperly sanitized and included in applications.

5

Which software packages are vulnerable due to CVE-2018-8048?

The vulnerable software packages include ruby-loofah versions prior to 2.2.3, specifically in Debian distributions.

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