CVE-2018-3740

Summary

CVECVE-2018-3740
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-03-30 19:29:00 UTC
Updated2018-12-28 16:29:00 UTC
DescriptionA specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.

Risk And Classification

Problem Types: CWE-20

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Sanitize Project Sanitize All All All All

References

ReferenceSourceLinkTags
[CVE-2018-3740] Sanitize HTML injection vulnerability · Issue #176 · rgrove/sanitize · GitHub CONFIRM github.com Issue Tracking, Third Party Advisory
404 | GitLab CONFIRM about.gitlab.com
Debian -- Security Information -- DSA-4358-1 ruby-sanitize DEBIAN www.debian.org
fix: Prevent code injection due to improper escaping in libxml2 >= 2.9.2 · rgrove/sanitize@01629a1 · GitHub CONFIRM github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report