Priority is exploitability, not CVSS
A composite of CVSS, EPSS, known-exploit presence, asset criticality and exposure. An actively exploited medium on a public asset outranks an isolated critical, which is the entire point, and it is what raw CVSS gets wrong.
See it in the demo