The converter output voltage is regulated and shouldn't have overshoot or spikes.
MLCC caps do not require derating for safety or reliability. Especially low-voltage parts tend to withstand severe overvoltages for unlimited times (of course not recommended, though).
25V rating is definitely OK.
But, do note the DC bias effect. Choose a capacitor which has the actual capacitance vs. voltage curve available. For example, TDK parts have that info available by part number on their website.
Note that physically larger sizes tend to have better actual capacitance, but this is not automatic. Look at the actual curves. Too large, and you have too much inductance, something you want to avoid in the output of the boost converter (the cap is part of the hard switching loop). In that case, you'd better off building it by paralleling large number of small capacitors, so that you can optimize the layout - at least part of the total capacitance is very close to the switches.
Something like this may happen:
You look at a 4.7uF, 25V capacitor in, say, 0805 package. You look at the curves and find the capacitance is down to 20% rated at 18V - this is 0.94uF.
Then you look at a much cheaper 2.2uF, 25V capacitor in the same package size. Again, the curves say capacitance is down to 40% rated at 18V - this is 0.88uF.
So now you can pick the latter! I sometimes create an Excel sheet where I compare multiple different solutions (different parts, different number of caps in parallel) for the same total actual capacitance per price.
Now, the appnote / datasheet writer (assuming you got the circuit from an appnote) probably means that you need a "typical 22uF rated MLCC" (because 22uF doesn't sound like a calculation result, but an actual E series component value), and is assuming a certain DC bias effect. It would be much more useful if they told you the actual capacitance they mean. It's very likely they have calculated something like 10uF and then handwaved and tested a 22uF capacitor. That would be fairly typical.
But I bet that circuit is just stupid. I wouldn't put a 22uF MLCC in the output of a 18V boost converter. It's either going to be physically massive and expensive, or if not, then the rating won't hold water (DC bias effect would be around -90%). I would definitely use smaller caps in parallel. 4.7uF 25V and 10uF 10V, in 0805 packages, are some of my go-to sizes for low voltage converters.