Any user with edit right can copy the content of a page it does not have access to by using it as template of a new page.
It has been patched in XWiki 13.2CR1 and 12.10.6
There is no workaround beside patching.
https://jira.xwiki.org/browse/XWIKI-18430
If you have any questions or comments about this advisory:
github.com/xwiki/xwiki-platform
github.com/xwiki/xwiki-platform/commit/30c52b01559b8ef5ed1035dac7c34aaf805764d5
github.com/xwiki/xwiki-platform/commit/b35ef0edd4f2ff2c974cbeef6b80fcf9b5a44554
github.com/xwiki/xwiki-platform/security/advisories/GHSA-gf7x-2j2x-7f73
jira.xwiki.org/browse/XWIKI-18430
nvd.nist.gov/vuln/detail/CVE-2022-23617