April 26 (Reuters) - Oil prices rose on Friday, on track to end higher this week after two straight weeks of losses, after a top U.S. official expressed optimism over economic growth and as supply concerns lingered due to conflicts in the Middle East.

Brent crude futures gained 31 cents, or 0.4%, to $89.32 a barrel at 0347 GMT, and U.S. West Texas Intermediate crude futures rose by 23 cents, or 0.3%, to $83.80 a barrel.

For the week, Brent has gained 2.3% so far, while WTI is up 0.8%.

Treasury Secretary Janet Yellen told Reuters on Thursday U.S. GDP growth for the first quarter could be revised higher, and inflation will ease after a clutch of "peculiar" factors held the economy to its weakest showing in nearly two years.

U.S. economic growth was likely stronger than suggested by weaker-than-expected quarterly data, she said.

Data showed that economic growth slowed in the first quarter, and prior to Yellen's comments, tremors from an acceleration in inflation had weighed on oil prices as investors calculated that the Federal Reserve would not cut interest rates before September.

Elsewhere, supply concerns as geopolitical tensions continue in the Middle East also buoyed prices early in the session.

Israel stepped up airstrikes on Rafah after saying it would evacuate civilians from the southern Gazan city and launch an all-out assault despite allies' warnings this could cause mass casualties. (Reporting by Georgina McCartney in Houston and Sudarshan Varadhan in Singapore; Editing by Leslie Adler and Sonali Paul)