Emergency crews treated a 22-year-old man, who was taken to a hospital in a serious but stable condition, New South Wales state police said in a statement.
There is no ongoing risk to the community, it said.
A University of Sydney spokesperson said a police operation was underway on its Camperdown campus and that police would remain on campus while investigations continue.