{"api_version":"1","generated_at":"2026-07-23T23:42:17+00:00","cve":"CVE-2023-35162","urls":{"html":"https://cve.report/CVE-2023-35162","api":"https://cve.report/api/cve/CVE-2023-35162.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-35162","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-35162"},"summary":{"title":"CVE-2023-35162","description":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the previewactions template to perform a XSS, e.g. by using URL such as: > <hostname>/xwiki/bin/get/FlamingoThemes/Cerulean xpage=xpart&vm=previewactions.vm&xcontinue=javascript:alert(document.domain). This vulnerability exists since XWiki 6.1-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-06-23 19:15:00","updated_at":"2023-06-30 13:12:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://jira.xwiki.org/browse/XWIKI-20583","name":"https://jira.xwiki.org/browse/XWIKI-20583","refsource":"MISC","tags":[],"title":"Loading...","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d","name":"https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d","refsource":"MISC","tags":[],"title":"XWIKI-20342: Sanitize template URLs · xwiki/xwiki-platform@9f01166 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://jira.xwiki.org/browse/XWIKI-20342","name":"https://jira.xwiki.org/browse/XWIKI-20342","refsource":"MISC","tags":[],"title":"Log in - XWiki.org JIRA","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9","refsource":"MISC","tags":[],"title":"RXSS via xcontinue parameter in previewactions template · Advisory · xwiki/xwiki-platform · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-35162","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35162","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"35162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"35162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"6.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"35162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"6.1","cpe7":"milestone1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"35162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"6.1","cpe7":"milestone2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"35162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xwiki","cpe5":"xwiki","cpe6":"6.1","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-35162","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the previewactions template to perform a XSS, e.g. by using URL such as: > <hostname>/xwiki/bin/get/FlamingoThemes/Cerulean xpage=xpart&vm=previewactions.vm&xcontinue=javascript:alert(document.domain). This vulnerability exists since XWiki 6.1-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"xwiki","product":{"product_data":[{"product_name":"xwiki-platform","version":{"version_data":[{"version_affected":"=","version_value":">= 6.1-rc-1, < 14.10.5"},{"version_affected":"=","version_value":">= 15.0-rc-1, < 15.1-rc-1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9","refsource":"MISC","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9"},{"url":"https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d","refsource":"MISC","name":"https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d"},{"url":"https://jira.xwiki.org/browse/XWIKI-20342","refsource":"MISC","name":"https://jira.xwiki.org/browse/XWIKI-20342"},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","refsource":"MISC","name":"https://jira.xwiki.org/browse/XWIKI-20583"}]},"source":{"advisory":"GHSA-q9hg-9qj2-mxf9","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.7,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-06-23 19:15:00","lastModifiedDate":"2023-06-30 13:12:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:6.1:rc1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:6.1:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:6.1:milestone1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:6.1:milestone2:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"14.10.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}