CVE-2018-3740
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 11.0.1-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 4.6.6-1 |
| sid | Fixed | 4.6.6-1 |
| forky | Fixed | 4.6.6-1 |
| bullseye | Fixed | 4.6.6-1 |
| bookworm | Fixed | 4.6.6-1 |
References
- https://github.com/rgrove/sanitize/issues/176
- https://security.archlinux.org/ASA-201807-1
- https://nvd.nist.gov/vuln/detail/CVE-2018-3740
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e
- https://github.com/rgrove/sanitize/commit/93feeb38e21864146bb29191792b971dbe1ec62e
- https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released
- https://github.com/rgrove/sanitize
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sanitize/CVE-2018-3740.yml
- https://www.debian.org/security/2018/dsa-4358
- https://security-tracker.debian.org/tracker/CVE-2018-3740
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.