Lookup for vulnerable packages by Package URL.

Purlpkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.2-rc-1
Typemaven
Namespaceorg.xwiki.platform
Namexwiki-platform-oldcore
Version14.2-rc-1
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version14.3-rc-1
Latest_non_vulnerable_version17.10.1
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-dnqk-983h-u3et
vulnerability_id VCID-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)
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
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
aliases CVE-2022-31166, GHSA-g4h6-qp44-wqvx
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-dnqk-983h-u3et
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.2-rc-1