cve.bz

CVE-2018-3740

7.5 highEPSS 1.5%

High (7.5) in sanitize project sanitize. EPSS 1.5% chance of exploitation in the next 30 days. Fixed in sanitize 4.6.3.

A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.5% chance of exploitation in the next 30 days; higher than 73% of CVEs (scores of 2026-10-31)
CWEs
CWE-20, CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7f42-p84j-f58pRubyGemssanitize>=3.0.0 <4.6.34.6.3

References

Check your stackJSON