Welcome to Photrio!
A local library was throwing away their HP Expression 11000XL flatbed scanner and allowed me to take it.
Wow! That's awfully kind of them.
There are two causes for the lines I can think of:
1: Dirt in the optical path somewhere. I'd start by obviously cleaning the scanner platen, but since the problem also seems to pop up with reflective scans, I guess you'll actually have to clean the optics. This requires partial disassembly of the scanner.
2: An actual defect in (or associated with) the scanning element pixel array. Given the color of the lines (yellow and red, apparently), I'm afraid this is more likely to be the cause. In this case, there's nothing you can do except try to remove the image defects in post-processing.
Is it possible to upload some more examples of the defect? Preferably using the highest scanning resolution. If it's indeed a pixel array defect, I'd expect it to show up as neat 1-pixel width lines.