pact_broker is vulnerable to Cross-Site Scripting (XSS)
54
Medium Risk
Published pact content such as consumer/provider names and interaction descriptions is converted to HTML in the Broker UI after only * and _ are escaped. Structural Markdown characters like [, ], (, ), and backticks stay unescaped, so crafted pact fields inject Markdown links and images, leading to stored cross-site scripting. The fix escapes the full set of CommonMark special characters via Pact::Doc::MARKDOWN_SPECIAL_CHARS_REGEXP.
You are affected if you are using a version that falls within the vulnerable range and you view the generated pact documentation for contracts published by untrusted users.
pact_broker is vulnerable to Cross-Site Scripting (XSS) in versions 1.0.0 - 2.120.0.
Upgrade the pact_broker library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.