Parasites and viruses can infect the liver, causing inflammation, progressive fibrosis and scarring leading to cirrhosis. The viruses that cause liver damage can be spread through blood or body fluids, contaminated food or water, or close contact with a person who is infected. The most common types of liver infection are hepatitis viruses, including hepatitis A, B and C.