{"id":"UBUNTU-CVE-2017-12979","details":"DokuWiki through 2017-02-19c has stored XSS when rendering a malicious language name in a code element, in /inc/parser/xhtml.php. An attacker can create or edit a wiki with this element to trigger JavaScript execution.","modified":"2025-10-24T04:46:27Z","published":"2017-08-21T07:29:00Z","upstream":["CVE-2017-12979"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12979"},{"type":"REPORT","url":"https://github.com/splitbrain/dokuwiki/issues/2080"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12979"}],"affected":[{"package":{"name":"dokuwiki","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dokuwiki@0.0.20140929.d-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.20140929.d-1","0.0.20140929.d-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"dokuwiki","binary_version":"0.0.20140929.d-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12979.json"}},{"package":{"name":"dokuwiki","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dokuwiki@0.0.20160626.a-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.20160626.a-2"],"ecosystem_specific":{"binaries":[{"binary_name":"dokuwiki","binary_version":"0.0.20160626.a-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12979.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}