simple_calendar is vulnerable to Cross-Site Scripting (XSS)
61
CVE Score
Medium
Cross-Site Scripting (XSS)
simple_calendar passes the current request's params into Rails' url_for when building the Previous, Today, and Next links. url_for uses keys such as host, protocol, original_script_name, and use_route as URL generation options rather than query params, so a request that includes those params changes the navigation links' host, protocol, or scheme, embeds a javascript: URL leading to XSS, triggers an open redirect, or causes a 500 error. The fix expands PARAM_KEY_BLACKLIST in lib/simple_calendar/calendar.rb to strip these URL option keys before they reach url_for.
Upgrade the simple_calendar library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.1.1
Fixed in 3.1.2simple_calendar is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.1.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.