XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template
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 resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-35160
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 04:43 UTC · Revision 1
Source evidence
XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template
core-osv · Original sourcePublished 23 Jun 2023, 18:48 UTC
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 resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.
osv:CVE-2023-35160
Complete source record
{
"id": "3b3751ddb64af18fbab71ed8615097fc37fae5da150e04ad74e16b8ffd47ff1a",
"url": "https://osv.dev/vulnerability/CVE-2023-35160",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template",
"summary": "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 resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.",
"evidence": "osv:CVE-2023-35160",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2023-35160",
"aliases": [
"CVE-2023-35160",
"GHSA-r8xc-xxh3-q5x3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/xwiki/xwiki-commons",
"type": "GIT",
"events": [
{
"introduced": "8493d664223e31da8307d1718775921422af4152"
},
{
"fixed": "8dfb9fcb4f456c70f82ea670ca0e2f3dee373ee4"
},
{
"introduced": "fdba4ca1398766e912f7888af5bdefbeef60d8b0"
},
{
"last_affected": "fdba4ca1398766e912f7888af5bdefbeef60d8b0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0"
},
{
"fixed": "14.10.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "15.0"
},
{
"last_affected": "15.0"
}
],
"source": "CPE_STRING"
}
]
}
},
{
"repo": "https://github.com/xwiki/xwiki-platform",
"type": "GIT",
"events": [
{
"introduced": "75c1bed0bf998a62cd9464d5070b0984dae1a04a"
},
{
"fixed": "0cb75bab7ac0c3ecbd0429e88726435b55970c8e"
},
{
"introduced": "a0ef31ef9bbe36cab905ab36cc726d81b260f50f"
},
{
"fixed": "dbc92dcdace33823ffd1e1591617006cb5fc6a7f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0"
},
{
"fixed": "14.10.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:2.5:milestone2:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5-milestone2"
},
{
"last_affected": "2.5-milestone2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "15.0"
},
{
"last_affected": "15.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "dbc92dcdace33823ffd1e1591617006cb5fc6a7f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"15.0",
"2.5-milestone2",
"xwiki-commons-15.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35160.json"
}
}
],
"modified": "2026-10-28T02:30:25.704931150Z",
"provider": "osv",
"references": [
"https://jira.xwiki.org/browse/XWIKI-20343",
"https://jira.xwiki.org/browse/XWIKI-20583",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35160.json",
"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3",
"https://nvd.nist.gov/vuln/detail/CVE-2023-35160",
"https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f"
],
"provider_metadata": {
"cwe_ids": [
"CWE-87"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35160.json"
}
},
"related_cves": [
{
"value": "CVE-2023-35160",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492526,
"published_at": "2023-06-23T18:48:18.136+00:00"
}