It is not permissible for one who applied for a job, if he is asked about the salary he is currently receiving, to lie about it
Question

I work for a company, and when I apply for a job in another company, they ask me to tell them how much my current salary is. In the beginning, I could not find any opportunity to work for a salary that I deserve on the basis of my qualifications and experience, so I was forced to work for nearly half of that. Is it permissible for me, when I apply for a job and am asked about my current salary, to mention the salary that I deserve? Please note that the salary for the new job will be decided on the basis of my current salary.
Praise be to Allah.If the Muslim is asked about his salary, it is not permissible for him to lie, because the Prophet (blessings and peace of Allah be upon him) said: “The signs of the hypocrite are three: when he speaks he lies, if he makes a promise he breaks it, and if he is entrusted with something he betrays that trust.” Narrated by al-Bukhari (33) and Muslim (59).
Ibn Mas‘ud (may Allah be pleased with him) said: Lying is not good, whether in earnest or in jest.
Narrated by al-Bukhari in al-Adab al-Mufrad (387); classed as sahih by al-Albani in Sahih al-Adab.
If you think that telling them your salary will be detrimental to you, you can refuse to answer, or you can explain to them that you accepted this low salary for some specific reason, and the like.
And Allah knows best.