Ubuntu Security Notice
USN-6748-1
ruby-sanitize vulnerabilities
Details
It was discovered that Sanitize incorrectly handled noscript elements under certain circumstances. An attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-23627)
It was discovered that Sanitize incorrectly handled style elements under certain circumstances. An attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. (CVE-2023-36823)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | ruby-sanitize | All versions before 4.6.6-2.1~0.20.04.2 (fixed in 4.6.6-2.1~0.20.04.2) |
| Ubuntu:22.04:LTS | ruby-sanitize | All versions before 6.0.0-1ubuntu0.1 (fixed in 6.0.0-1ubuntu0.1) |