{"id":"UBUNTU-CVE-2022-28366","details":"Certain Neko-related HTML parsers allow a denial of service via crafted Processing Instruction (PI) input that causes excessive heap memory consumption. In particular, this issue exists in HtmlUnit-Neko through 2.26, and is fixed in 2.27. This issue also exists in CyberNeko HTML through 1.9.22 (also affecting OWASP AntiSamy before 1.6.6), but 1.9.22 is the last version of CyberNeko HTML. NOTE: this may be related to CVE-2022-24839.","modified":"2026-01-20T17:26:37.227481Z","published":"2022-04-21T23:15:00Z","upstream":["CVE-2022-28366"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-28366"},{"type":"REPORT","url":"https://github.com/nahsra/antisamy/releases/tag/v1.6.6"},{"type":"REPORT","url":"https://github.com/nahsra/antisamy/issues/174"},{"type":"REPORT","url":"https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/"},{"type":"REPORT","url":"https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-28366"}],"affected":[{"package":{"name":"libowasp-antisamy-java","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libowasp-antisamy-java@1.5.3+dfsg-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libowasp-antisamy-java","binary_version":"1.5.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28366.json"}},{"package":{"name":"libowasp-antisamy-java","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libowasp-antisamy-java@1.5.3+dfsg-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libowasp-antisamy-java","binary_version":"1.5.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28366.json"}},{"package":{"name":"libowasp-antisamy-java","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libowasp-antisamy-java@1.5.3+dfsg-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libowasp-antisamy-java","binary_version":"1.5.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28366.json"}},{"package":{"name":"libowasp-antisamy-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libowasp-antisamy-java@1.5.3+dfsg-1.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libowasp-antisamy-java","binary_version":"1.5.3+dfsg-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28366.json"}},{"package":{"name":"libowasp-antisamy-java","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libowasp-antisamy-java@1.7.4-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1","1.7.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libowasp-antisamy-java","binary_version":"1.7.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28366.json"}},{"package":{"name":"libowasp-antisamy-java","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libowasp-antisamy-java@1.7.4-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libowasp-antisamy-java","binary_version":"1.7.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28366.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}