I did a CentOS 7 install just to check if the issue is there too.
I understand that issue is with the version of RoundCube, but then other panels have not shown same behaviour.
Solution must come from CWP officially, else patch work may break things in future.
Any idea, how CWP future update will handle the scenario if update is applied today using Sandeep B's solution?
Also, any one tested this solution on AlmaLinux release 8.x and up ?