To make the nominator and denominator independent, write
$$Y_n = \frac{X_n}{(X_1 X_2 \dots X_n)^\frac{1}{n-1}}= \frac{X_nX_n^{-\frac{1}{n-1}}}{(X_1 X_2 \dots X_{n-1})^\frac{1}{n-1}}= \frac{X_n^{\frac{n-2}{n-1}}}{(X_1 X_2 \dots X_{n-1})^\frac{1}{n-1}}$$
Define $Z \equiv X_n^{\frac{n-2}{n-1}}$. Then by the change-of-variable formula we obtain that
$$ f_{Z}(z) = \frac {n-1}{n-2}z^{\frac {1}{n-2}} \qquad [1]$$
which is a beta distribution $B(a,b)$ with $a= \frac {n-1}{n-2}$ and $b=1$.
Now the distribution of the product, call it $Z_{\pi}$, of $n-1$ i.i.d. $U(0,1)$ random variables is (see here for the n-case)
$$ f_{Z_{\pi}}(z_{\pi}) = \frac {1}{(n-2)!}\cdot \Big(-\ln z_{\pi}\Big)^{n-2} $$
Define $G \equiv \left(Z_{\pi}\right)^{\frac {1}{n-1}}$, i.e. the geometric mean. Applying here the change of variable formula we obtain
$$f_G(g) = \frac {(n-1)^{n-1}}{(n-2)!}\Big(-g\ln g\Big)^{n-2} \qquad [2]$$
Now your variable has a ratio distribution , $Y_n = Z/G$ with both variables having support in $(0,1)$, so
$$f_{Y_n}(y_n) = \int_0^1g\frac {n-1}{n-2}(gy_n)^{\frac {1}{n-2}}\frac {(n-1)^{n-1}}{(n-2)!}\Big(-g\ln g\Big)^{n-2}dg $$
$$=(y_n)^{\frac {1}{n-2}}\frac {1}{n-2}\frac {(n-1)^{n}}{(n-2)!}\int_0^1g^{\frac {n-1 + (n-2)^2)}{n-2}}\Big(-\ln g\Big)^{n-2}dg $$
...but I am just back from the dentist, so I am leaving this final integration to you.