Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-dnqk-983h-u3et
Summary
XWiki.WebHome vulnerable to Improper Privilege Management in XWiki resolving groups
### Impact

It's possible to exploit a bug in XWikiRights resolution of groups to obtain privilege escalation. 

More specifically, editing a right with the object editor leads to adding a supplementary empty value to groups which is then resolved as a reference to XWiki.WebHome page. Adding an XWikiGroup xobject to that page then transforms it to a group, any user put in that group would then obtain the privileges related to the edited right.

Note that this security issue is normally mitigated by the fact that XWiki.WebHome (and XWiki space in general) should be protected by default for edit rights. 

### Patches

The problem has been patched in XWiki 13.10.4 and 14.2RC1 to not consider anymore empty values in XWikiRights. 

### Workarounds

It's possible to workaround the problem by setting appropriate rights on XWiki.WebHome page to prevent users to edit it. 

### References

* https://jira.xwiki.org/browse/XWIKI-18386
* https://jira.xwiki.org/browse/XWIKI-15776

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [Jira XWiki.org](https://jira.xwiki.org)
* Email us at [Security Mailing List](mailto:security@xwiki.org)
Aliases
0
alias CVE-2022-31166
1
alias GHSA-g4h6-qp44-wqvx
Fixed_packages
0
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.10.4
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.10.4
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-4mj5-repk-zyg2
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.10.4
1
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.2-rc-1
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.2-rc-1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.2-rc-1
Affected_packages
0
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@11.3.7
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@11.3.7
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-dnqk-983h-u3et
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@11.3.7
1
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.0-rc-1
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.0-rc-1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-dnqk-983h-u3et
1
vulnerability VCID-gxbk-2r83-kbav
2
vulnerability VCID-mpyn-zkgb-mfe8
3
vulnerability VCID-vqgg-gxsf-tqh1
4
vulnerability VCID-xms6-msad-wkgm
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.0-rc-1
References
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2022-31166
reference_id
reference_type
scores
0
value 0.01997
scoring_system epss
scoring_elements 0.83705
published_at 2026-04-24T12:55:00Z
1
value 0.01997
scoring_system epss
scoring_elements 0.83592
published_at 2026-04-02T12:55:00Z
2
value 0.01997
scoring_system epss
scoring_elements 0.83606
published_at 2026-04-04T12:55:00Z
3
value 0.01997
scoring_system epss
scoring_elements 0.83608
published_at 2026-04-07T12:55:00Z
4
value 0.01997
scoring_system epss
scoring_elements 0.83632
published_at 2026-04-08T12:55:00Z
5
value 0.01997
scoring_system epss
scoring_elements 0.8364
published_at 2026-04-09T12:55:00Z
6
value 0.01997
scoring_system epss
scoring_elements 0.83657
published_at 2026-04-11T12:55:00Z
7
value 0.01997
scoring_system epss
scoring_elements 0.83649
published_at 2026-04-12T12:55:00Z
8
value 0.01997
scoring_system epss
scoring_elements 0.83645
published_at 2026-04-13T12:55:00Z
9
value 0.01997
scoring_system epss
scoring_elements 0.8368
published_at 2026-04-16T12:55:00Z
10
value 0.01997
scoring_system epss
scoring_elements 0.83681
published_at 2026-04-21T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2022-31166
1
reference_url https://github.com/xwiki/xwiki-platform
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/xwiki/xwiki-platform
2
reference_url https://github.com/xwiki/xwiki-platform/pull/1800
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:42:19Z/
url https://github.com/xwiki/xwiki-platform/pull/1800
3
reference_url https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g4h6-qp44-wqvx
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:42:19Z/
url https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g4h6-qp44-wqvx
4
reference_url https://jira.xwiki.org/browse/XWIKI-15776
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:42:19Z/
url https://jira.xwiki.org/browse/XWIKI-15776
5
reference_url https://jira.xwiki.org/browse/XWIKI-18386
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:42:19Z/
url https://jira.xwiki.org/browse/XWIKI-18386
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2022-31166
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2022-31166
7
reference_url https://github.com/advisories/GHSA-g4h6-qp44-wqvx
reference_id GHSA-g4h6-qp44-wqvx
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-g4h6-qp44-wqvx
Weaknesses
0
cwe_id 269
name Improper Privilege Management
description The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
1
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
2
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
Exploits
Severity_range_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-dnqk-983h-u3et