The U.S. National Security Agency was sued on Tuesday by Wikimedia and other groups challenging one of its mass surveillance programs that they said violates Americans' privacy and makes individuals worldwide less likely to share sensitive information.

The lawsuit filed in federal court in Maryland, where the spy agency is based, said the NSA is violating U.S. constitutional protections and the law by tapping into high-capacity cables, switches and routers that move Internet traffic through the United States.

The case is a new potential legal front for privacy advocates who have challenged U.S. spying programs several times since 2013, when documents leaked by former NSA contractor Edward Snowden revealed the long reach of government surveillance.