The present invention relates to a cosmetic composition in a container comprising at least one inner bag and an outer container, wherein the outer container encloses the inner bag and is filled with a propellant compressing the inner bag, and a valve mechanism attached to the inner bag moveable between an open position, in which a composition stored in the inner bag is allowed to be discharged by the pressure of the compressed gas in foam form, and a closed position, in which the composition is not allowed to be discharged, wherein the composition within the inner bag comprises 0.1 to 5 % by weight of a cationic surfactant (A), 0.1 to 10 % by weight of a fatty alcohol (B), and 0.1 to 10 % by weight of carbon dioxide.本発明は、少なくとも1つの内袋と、外容器と、を備える容器内の化粧品組成物に関し、外容器が、内袋を封入し、かつ内袋を圧縮する高圧ガスを充填し、内袋に取り付けられる弁機構が、内袋内に格納される組成物を発泡体形態で圧縮ガスの圧力により放出することができる開放位置と、組成物を放出することができない閉鎖位置との間で移動可能であり、内袋内の組成物は、0.1~5重量%のカチオン性界面活性剤(A)と、0.1~10重量%の脂肪アルコール(B)と、0.1~10重量%の二酸化炭素と、を含む。