Lookup for vulnerabilities affecting packages.
| 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) |
| Aliases |
| 0 |
|
| 1 |
| alias |
GHSA-g4h6-qp44-wqvx |
|
|
| Fixed_packages |
|
| Affected_packages |
|
| 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 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
|
| 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_score | 7.0 - 8.9 |
| Exploitability | 0.5 |
| Weighted_severity | 8.0 |
| Risk_score | 4.0 |
| Resource_url | http://public2.vulnerablecode.io/vulnerabilities/VCID-dnqk-983h-u3et |