{"id":"UBUNTU-CVE-2026-105829","details":"League CommonMark from 1.3.0 before 2.10.2 contains a cross-site scripting vulnerability that allows users posting Markdown to bypass the DisallowedRawHtml extension by ending raw HTML with a bare disallowed tag name. Attackers can place a lone \u003cscript or \u003ciframe line followed by a block supplying attributes like src or onload, executing stored scripts in viewers' browsers under default GFM settings.","modified":"2026-10-14T03:22:47.935967907Z","published":"2026-10-13T00:00:00Z","upstream":["CVE-2026-105829"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-105829"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-105829"},{"type":"REPORT","url":"https://github.com/thephpleague/commonmark/security/advisories/GHSA-97jj-33gv-5xf9"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/league-commonmark-1.3.0-before-2.10.2-stored-xss-via-disallowedrawhtml-bypass"}],"affected":[{"package":{"name":"php-league-commonmark","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-1","1.2.0-1","1.3.0-1","1.3.1-1","1.3.1-1ubuntu2","1.3.1-1ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.1-1ubuntu2+esm1","binary_name":"php-league-commonmark"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105829.json"}},{"package":{"name":"php-league-commonmark","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.7-2build1","1.6.6-1build1","1.6.7-1","1.6.7-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-league-commonmark","binary_version":"1.6.7-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105829.json"}},{"package":{"name":"php-league-commonmark","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.9-1","2.4.1-1","2.4.2-1","2.4.2-2","2.4.2-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-league-commonmark","binary_version":"2.4.2-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105829.json"}},{"package":{"name":"php-league-commonmark","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-1","2.7.1-2","2.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.0-1","binary_name":"php-league-commonmark"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105829.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"},{"type":"Ubuntu","score":"medium"}]}