{"id":"UBUNTU-CVE-2024-31111","details":"Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Automattic WordPress allows Stored XSS.This issue affects WordPress: from 6.5 through 6.5.4, from 6.4 through 6.4.4, from 6.3 through 6.3.4, from 6.2 through 6.2.5, from 6.1 through 6.1.6, from 6.0 through 6.0.8, from 5.9 through 5.9.9.","modified":"2025-10-24T05:09:09Z","published":"2024-06-25T13:15:00Z","upstream":["CVE-2024-31111"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-31111"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-31111"},{"type":"REPORT","url":"https://wordpress.org/news/2024/06/wordpress-6-5-5/"},{"type":"REPORT","url":"https://patchstack.com/database/vulnerability/wordpress/wordpress-wordpress-core-core-6-5-5-cross-site-scripting-xss-via-template-part-vulnerability?_s_id=cve"}],"affected":[{"package":{"name":"wordpress","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/wordpress@4.4.2+dfsg-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3+dfsg-1","4.3.1+dfsg-1","4.4+dfsg-1","4.4.1+dfsg-1","4.4.2+dfsg-1","4.4.2+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-theme-twentyfifteen"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-theme-twentyfourteen"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-theme-twentysixteen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31111.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/wordpress@4.9.5+dfsg1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.2+dfsg-2","4.8.3+dfsg-1","4.9.1+dfsg-1","4.9.2+dfsg-1","4.9.4+dfsg-1","4.9.5+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-l10n"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-theme-twentyfifteen"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-theme-twentyseventeen"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-theme-twentysixteen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31111.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/wordpress@5.3.2+dfsg1-1ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.2+dfsg1-1","5.2.4+dfsg1-1","5.3.2+dfsg1-1","5.3.2+dfsg1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentynineteen"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentyseventeen"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentysixteen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31111.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/wordpress@5.8.3+dfsg1-1ubuntu1.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7.1+dfsg1-2ubuntu1","5.8.1+dfsg1-2ubuntu1","5.8.2+dfsg1-1ubuntu1","5.8.3+dfsg1-1ubuntu1","5.8.3+dfsg1-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-l10n"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-theme-twentynineteen"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-theme-twentytwenty"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-theme-twentytwentyone"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31111.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/wordpress@6.4.3+dfsg1-1ubuntu1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg1-1ubuntu1","6.4.3+dfsg1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentytwentyfour"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentytwentythree"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentytwentytwo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31111.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}