In relativity, there are (at least) two different concepts of mass. To put it simply
- "rest mass" which excludes kinetic energy
- "relativistic mass" which includes kinetic energy
There are two schools of thought.
The vast majority of professional physicists call rest mass "mass" and don't talk about relativistic mass at all. They say photons are massless.
Some others call relativistic mass "mass" and rest mass "rest mass". They say photons do have mass, but no rest mass.
Hardly anyone routinely uses the phrase "relativistic mass"; it arises only in discussions like this comparing both definitions.
This is a great cause of confusion and it's a pity there isn't universal agreement over the terminology.
Unfortunately usage is not quite so black-and-white as some people think. Relativistic mass is used in the undergraduate-level textbook
Relativity: Special, General and Cosmological (2nd ed 2006) written by the professional physicist Wolfgang Rindler after whom Rindler coordinates are named. Sorry.
By the way, I personally support the standard convention that most other physicists use, but we can't just pretend the other convention doesn't exist. Both views are technically valid, but use mutually incompatible terminology.