{"id":"CVE-2024-9506","aliases":["CLSA-2026-1774830270","CLSA-2026-1774916696","CLSA-2026-1791908879","CLSA-2026-1793148256","CLSA-2026-1793148258","CLSA-2026-1793148266","CLSA-2026-1793148267","EUVD-2024-2953","GHSA-5j4c-8p2g-v4jx"],"status":"published","title":"Regular Expression Denial of Service (ReDoS)","description":"Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.","severity":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00571,"percentile":0.47531,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-1333"],"published":"2024-10-15T15:40:04Z","modified":"2026-10-28T01:45:54Z","exploits":[{"source":"pocgithub","id":"bio/vue-template-compiler-patched","title":"bio/vue-template-compiler-patched","date":"2025-04-16","url":"https://github.com/bio/vue-template-compiler-patched"}],"fixes":[{"ecosystem":"npm","package":"vue","fixed_in":["3.0.0-alpha.0"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"vue-server-renderer","fixed_in":["2.2.6-tuxcare.3"],"sources":["osv"]},{"ecosystem":"TuxCare:npm","package":"vue-template-compiler","fixed_in":["2.2.6-tuxcare.3"],"sources":["osv"]},{"ecosystem":"TuxCare:npm","package":"vue","fixed_in":["2.2.6-tuxcare.3","2.7.16-tuxcare.9"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"vue","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-alpha.1"},{"fixed":"3.0.0-alpha.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue-server-renderer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.11-tuxcare.0"},{"fixed":"2.6.11-tuxcare.2"}]}],"versions":["2.6.11","2.6.11-tuxcare.1"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue-template-compiler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.11-tuxcare.0"},{"fixed":"2.6.11-tuxcare.2"}]}],"versions":["2.6.11","2.6.11-tuxcare.1"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue-server-renderer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.14-tuxcare.0"},{"fixed":"2.6.14-tuxcare.5"}]}],"versions":["2.6.14","2.6.14-tuxcare.1","2.6.14-tuxcare.2","2.6.14-tuxcare.3","2.6.14-tuxcare.4"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue-template-compiler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.14-tuxcare.0"},{"fixed":"2.6.14-tuxcare.5"}]}],"versions":["2.6.14","2.6.14-tuxcare.1","2.6.14-tuxcare.2","2.6.14-tuxcare.3","2.6.14-tuxcare.4"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue-server-renderer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.6-tuxcare.0"},{"fixed":"2.2.6-tuxcare.3"}]}],"versions":["2.2.6","2.2.6-tuxcare.1","2.2.6-tuxcare.2"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue-template-compiler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.6-tuxcare.0"},{"fixed":"2.2.6-tuxcare.3"}]}],"versions":["2.2.6","2.2.6-tuxcare.1","2.2.6-tuxcare.2"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.11-tuxcare.0"},{"fixed":"2.6.11-tuxcare.2"}]}],"versions":["2.6.11"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.14-tuxcare.0"},{"fixed":"2.6.14-tuxcare.5"}]}],"versions":["2.6.14"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.6-tuxcare.0"},{"fixed":"2.2.6-tuxcare.3"}]}],"versions":["2.2.6","2.2.6-tuxcare.1","2.2.6-tuxcare.2"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"vue","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.16-tuxcare.0"},{"fixed":"2.7.16-tuxcare.9"}]}],"versions":["2.7.16","2.7.16-tuxcare.1","2.7.16-tuxcare.5","2.7.16-tuxcare.6","2.7.16-tuxcare.7","2.7.16-tuxcare.8"]},{"source":"osv","ecosystem":"npm","package":"vue","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0-alpha.1"},{"fixed":"3.0.0-alpha.0"}]}]}],"products":[{"vendor":"@clerk","product":"vue"},{"vendor":"vue","product":"vue"}],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2024-9506","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9506","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5j4c-8p2g-v4jx"},{"url":"https://github.com/vuejs/core","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-9506","title":"Regular Expression Denial of Service (ReDoS)","description":"Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.","status":"published","published":"2024-10-15T15:40:04.627Z","modified":"2024-10-15T16:10:56.576Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:34:05.823187Z"}],"euvd":[{"id":"EUVD-2024-2953","description":"Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.","status":"published","published":"2024-10-15T15:40:04Z","modified":"2024-10-15T16:10:56Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T00:27:37.250145Z"}],"ghsa":[{"id":"GHSA-5j4c-8p2g-v4jx","title":"ReDoS vulnerability in vue package that is exploitable through inefficient regex evaluation in the parseHTML function","description":"The ReDoS can be exploited through the `parseHTML` function in the `html-parser.ts` file. This flaw allows attackers to slow down the application by providing specially crafted input that causes inefficient processing of regular expressions, leading to excessive resource consumption.\n\nTo demonstrate this vulnerability, here's an example. In a Vue client-side application, create a new Vue instance with a template string that includes a `\u003cscript\u003e` tag but closes it incorrectly with something like `\u003c/textarea\u003e`.\n\n```javascript\nnew Vue({\n  el: '#app',\n  template: '\n    \u003cdiv\u003e\n      Hello, world!\n      \u003cscript\u003e${'\u003c'.repeat(1000000)}\u003c/textarea\u003e\n    \u003c/div\u003e'\n});\n```\nNext, set up a basic HTML page (e.g., index.html) to load this JavaScript and mount the Vue instance:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003ctitle\u003eMy first Vue app\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cdiv id=\\\"app\\\"\u003eLoading...\u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nWhen you visit the app in your browser at http://localhost:3000, you'll notice that the time taken to parse and mount the Vue application increases significantly due to the ReDoS vulnerability, demonstrating how the flaw can affect performance.","status":"published","published":"2024-10-15T18:30:50Z","modified":"2024-10-24T20:05:37Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"4.0","score":2.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:38:13.09489Z"}],"nvd":[{"id":"CVE-2024-9506","description":"Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.","status":"published","published":"2024-10-15T16:15:06.65Z","modified":"2026-06-17T08:24:42.31Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:10:31.879321Z"}],"osv":[{"id":"GHSA-5j4c-8p2g-v4jx","title":"ReDoS vulnerability in vue package that is exploitable through inefficient regex evaluation in the parseHTML function","description":"The ReDoS can be exploited through the `parseHTML` function in the `html-parser.ts` file. This flaw allows attackers to slow down the application by providing specially crafted input that causes inefficient processing of regular expressions, leading to excessive resource consumption.\n\nTo demonstrate this vulnerability, here's an example. In a Vue client-side application, create a new Vue instance with a template string that includes a `\u003cscript\u003e` tag but closes it incorrectly with something like `\u003c/textarea\u003e`.\n\n```javascript\nnew Vue({\n  el: '#app',\n  template: '\n    \u003cdiv\u003e\n      Hello, world!\n      \u003cscript\u003e${'\u003c'.repeat(1000000)}\u003c/textarea\u003e\n    \u003c/div\u003e'\n});\n```\nNext, set up a basic HTML page (e.g., index.html) to load this JavaScript and mount the Vue instance:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003ctitle\u003eMy first Vue app\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cdiv id=\\\"app\\\"\u003eLoading...\u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nWhen you visit the app in your browser at http://localhost:3000, you'll notice that the time taken to parse and mount the Vue application increases significantly due to the ReDoS vulnerability, demonstrating how the flaw can affect performance.","status":"published","published":"2024-10-15T18:30:50Z","modified":"2026-09-10T03:50:19.19487004Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"4.0","score":2.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"CLSA-2026-1774830270","title":"TuxCare security update for 2 packages (2 CVEs)","description":"TuxCare rebuilt 2 packages to address 2 CVEs. Fixed in 2.6.11-tuxcare.2.","status":"published","published":"2026-08-04T14:52:16Z","modified":"2026-10-28T01:45:05.813528405Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1774916696","title":"TuxCare security update for 2 packages (2 CVEs)","description":"TuxCare rebuilt 2 packages to address 2 CVEs. Fixed in 2.6.14-tuxcare.5.","status":"published","published":"2026-08-04T14:52:17Z","modified":"2026-10-28T01:45:06.511504757Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1791908879","title":"TuxCare security update for 2 packages (1 CVE)","description":"TuxCare rebuilt 2 packages to address 1 CVE. Fixed in 2.2.6-tuxcare.3.","status":"published","published":"2026-10-13T16:27:59Z","modified":"2026-10-28T01:45:48.968139577Z","updated_at":"2026-11-02T15:43:50.599064Z"},{"id":"CLSA-2026-1793148256","title":"TuxCare security update for vue (2 CVEs)","description":"TuxCare rebuilt vue to address 2 CVEs. Fixed in 2.6.11-tuxcare.2.","status":"published","published":"2026-10-28T00:44:16Z","modified":"2026-10-28T01:45:54.476990603Z","updated_at":"2026-11-02T15:43:55.34846Z"},{"id":"CLSA-2026-1793148258","title":"TuxCare security update for vue (2 CVEs)","description":"TuxCare rebuilt vue to address 2 CVEs. Fixed in 2.6.14-tuxcare.5.","status":"published","published":"2026-10-28T00:44:16Z","modified":"2026-10-28T01:45:49.924320729Z","updated_at":"2026-11-02T15:43:55.34846Z"},{"id":"CLSA-2026-1793148266","title":"TuxCare security update for vue (1 CVE)","description":"TuxCare rebuilt vue to address 1 CVE. Fixed in 2.2.6-tuxcare.3.","status":"published","published":"2026-10-28T00:44:26Z","modified":"2026-10-28T01:45:50.163799903Z","updated_at":"2026-11-02T15:43:55.34846Z"},{"id":"CLSA-2026-1793148267","title":"TuxCare security update for vue (1 CVE)","description":"TuxCare rebuilt vue to address 1 CVE. Fixed in 2.7.16-tuxcare.9.","status":"published","published":"2026-10-28T00:44:27Z","modified":"2026-10-28T01:45:50.370203229Z","updated_at":"2026-11-02T15:43:55.34846Z"}]}}
