CVE-2018-3740
UnknownEPSS 1.52%
Last modified
CVE-2018-3740 is a vulnerability of currently unknown severity. A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.. EPSS estimates a 1.52% chance of exploitation in the next 30 days.
Description
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sanitize Project | Sanitize | <= 4.6.0 |
References
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46ePatch, Third Party Advisory
- https://github.com/rgrove/sanitize/issues/176Issue Tracking, Third Party Advisory
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46ePatch, Third Party Advisory
- https://github.com/rgrove/sanitize/issues/176Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-3740?
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
How severe is CVE-2018-3740?
Severity scoring for CVE-2018-3740 is pending analysis. The EPSS model estimates a 1.52% probability of exploitation in the next 30 days.
How do I fix CVE-2018-3740?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-3734stattic node module suffers from a Path Traversal vulnerabil…7.5
- CVE-2018-3735bracket-template suffers from reflected XSS possible when va…6.1
- CVE-2018-3736Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2018-3737sshpk is vulnerable to ReDoS when parsing crafted invalid pu…7.5
- CVE-2018-3738protobufjs is vulnerable to ReDoS when parsing crafted inval…5.5
- CVE-2018-3739https-proxy-agent before 2.1.1 passes auth option to the Buf…
- CVE-2018-3741There is a possible XSS vulnerability in all rails-html-sani…6.1
- CVE-2018-3742Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2018-3743Open redirect in hekto <=0.2.3 when target domain name is us…6.1
- CVE-2018-3744The html-pages node module contains a path traversal vulnera…9.8
- CVE-2018-3745atob 2.0.3 and earlier allocates uninitialized Buffers when …9.1
- CVE-2018-3746The pdfinfojs NPM module versions <= 0.3.6 has a command inj…9.8
Are you affected by CVE-2018-3740?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
