The Bug:
The exit portal in the end can generate underground or partially underground.
Here is an example:
Version: 1.20.2
Seed: 4325884121141569638
Coordinates: /execute in minecraft:the_end run tp @s 0.37 61.00 5.76 181.86 26.96
Steps to Reproduce:
Generate a world with the seed provided above and teleport to the given coordinates.
Look at the generation of the exit portal.
Take note as to whether or not the exit portal in the end can generate underground or partially underground.
Observed Behavior:
The exit portal can generate underground or partially underground.
Expected Behavior:
The exit portal would always generate above ground.
Modified clients are not supported.