XWiki is a generic wiki platform. In versions starting from 15.9-rc-1 to before 15.10.8 and from 16.0.0-rc-1 to before 16.2.0, the required rights analysis doesn't consider TextAreas with default content type. When editing a page, XWiki warns since version 15.9 when there is content on the page like a script macro that would gain more rights due to the editing. This analysis doesn't consider certain kinds of properties, allowing a user to put malicious scripts in there that will be executed after a user with script, admin, or programming rights edited the page. Such a malicious script could impact the confidentiality, integrity and availability of the whole XWiki installation. This issue has been patched in versions 15.10.8 and 16.2.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-116",
"CWE-269"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32974.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32974.json"
"2026-07-22T04:01:53Z"
[
{
"signature_version": "v1",
"source": "https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc",
"id": "CVE-2025-32974-4855b73d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"226069511102521335188098535328873357559",
"197060651207309436982539612614645631606",
"290770070121725405145928573911956084437"
]
},
"target": {
"file": "xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzerTest.java"
},
"deprecated": false,
"signature_type": "Line"
},
{
"signature_version": "v1",
"source": "https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc",
"id": "CVE-2025-32974-511c4880",
"digest": {
"threshold": 0.9,
"line_hashes": [
"110952391712989702301648110291469596380",
"302283329407220475072199310372178795367",
"126394419629124546362898852734670513670",
"57754101762947105777884950809867239435",
"189174533329779968413768079895716020257",
"321519284673715243330356728053174817847",
"161247248959686534640251771146995590066",
"285294932251818390514396102241023547055",
"284603682172586540150283281786462056235",
"138551668023294964681285374293979297859",
"156960560206366507520701486278889321888",
"87933102183178844154278954968325861605",
"57452729120454066050503569110316584309",
"273044645211350846033584871890401335473",
"163365333947463192760216260292028193514"
]
},
"target": {
"file": "xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzer.java"
},
"deprecated": false,
"signature_type": "Line"
},
{
"signature_version": "v1",
"source": "https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc",
"id": "CVE-2025-32974-9bd43ff9",
"digest": {
"length": 878.0,
"function_hash": "180887270903970764166449532531961568395"
},
"target": {
"function": "analyzeTextAreaProperty",
"file": "xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzer.java"
},
"deprecated": false,
"signature_type": "Function"
}
]