6.4 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
Marko: XSS via case-insensitive script/style closing tag bypass in runtime HTML escaping
Marko is a declarative, HTML-based language for building web apps. Prior to marko version 5.38.36 and prior to @marko/runtime-tags 6.0.164, when dynamic text is interpolated into a <script> or <style> tag the Marko runtime failed to prevent tag breakout when the closing tag used non-lowercase casing. An attacker able to place input inside a <script> or <style> block could break out of the tag with </SCRIPT>, </Style>, etc. and inject arbitrary HTML/JavaScript, resulting in cross-site scripting. This issue has been patched in marko version 5.38.36 and @marko/runtime-tags 6.0.164.
References
-
https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq x_refsource_CONFIRMexploit
Affected products
- ==@marko/runtime-tags < 6.0.164
- ==marko < 5.38.36
Matching in nixpkgs
pkgs.haskellPackages.markov
Simple interpreter for Markov's normal algorithms
pkgs.python312Packages.marko
Markdown parser with high extensibility
pkgs.python313Packages.marko
Markdown parser with high extensibility
pkgs.python314Packages.marko
Markdown parser with high extensibility
pkgs.haskellPackages.elynx-markov
Simulate molecular sequences along trees
pkgs.haskellPackages.markov-chain
Markov Chains for generating random sequences with a user definable behaviour
Package maintainers
-
@dschrempf Dominik Schrempf <dominik.schrempf@gmail.com>
-
@thielema Henning Thielemann <nix@henning-thielemann.de>