Frédéric:
I achieve an A+ rating from the MDN tool
It's an open source and you're free to modify it up to your wish an risk. These ratings and the strategy overall seems kidding (at least now, and to me).
MiniBB depends on many other, more critical things like PHP, or web-server, or database... these server apps have to be instantly monitored and upgraded to avoid more serious security leaks like
recently discovered.
By the way,
nginx project also experienced serious security update recently, which was related to mostly the same
buffer overflow and
memory exhaustion issues.
Whatever PHP headers you set, you can't avoid such security leaks, and
they are the primary attention takers.