Home / mailingsPDF  

[USN-9338-1] Haml vulnerability

Posted on 01 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9338-1
December 01, 2026

ruby-haml vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

Haml could allow cross-site scripting attacks.

Software Description:
- ruby-haml: A templating engine for HTML

Details:

It was discovered that Haml did not properly escape the single quote
character. If Haml were made to process specially crafted input, an
attacker could possibly use this issue to inject arbitrary HTML attributes
and perform cross-site scripting attacks.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 18.04 LTS
ruby-haml 4.0.7-1ubuntu0.18.04.1~esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
ruby-haml 4.0.7-1ubuntu0.16.04.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9338-1
CVE-2017-1002201

--===============8783144909839376212==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP