mppx is vulnerable to Improper Neutralization of CRLF Sequences (CRLF Injection)
59
Medium Risk
The Tempo session SSE transport emits each streamed value as an event: message block by interpolating the raw value directly into the data: field. When streamed content contains newline characters, the extra lines are parsed by the client as additional SSE fields, letting untrusted multiline payloads inject forged payment-need-voucher or payment-receipt control events into the stream. This allows an upstream or attacker-controlled stream to forge downstream payment control events and manipulate the client's metered-payment flow. The fix adds a message formatter that splits values on newlines and re-emits each line as its own data: field so embedded newlines can no longer break out of the message payload.
You are affected if you are using a version that falls within the vulnerable range and you stream externally supplied or otherwise untrusted content to clients over the mppx session SSE transport.
mppx is vulnerable to Improper Neutralization of CRLF Sequences (CRLF Injection) in versions 0.1.0 - 0.6.9.
Upgrade the mppx 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