The URL rewrite feature can inadvertently expose session IDs, which may be disclosed through the cross-site referer header. Furthermore, session IDs may also be stored in browser history or server logs.
To mitigate this risk, consider storing sensitive data like session IDs within a cookie instead of directly rewriting URLs. For added security, consider combining this approach with URL rewrite.