{"id":"CVE-2024-34710","published":"2024-05-20T21:59:16Z","modified":"2024-08-02T02:59:22Z","title":"Wiki.js Stored XSS through Client Side Template Injection","vendor":"requarks","product":"wiki","tier":"tail","description":{"text":"Wiki.js is al wiki app built on Node.js. Client side template injection was discovered, that could allow an attacker to inject malicious JavaScript into the content section of pages that would execute once a victim loads the page that contains the payload. This was possible through the injection of a invalid HTML tag with a template injection payload on the next line. This vulnerability is fixed in 2.5.303.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00395,"percentile":0.34583,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-xjcj-p2qv-q3rf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/requarks/wiki/commit/1238d614e1599fefadd4614ee4b5797a087f50ac","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":6.92},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"requarks","affectedVersions":[{"vendor":"requarks","product":"wiki","versions":["<= 2.5.302"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T14:08:35.033091Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/requarks/wiki","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-2875"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-35000","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-requarks-io-wiki-js-cve-2020-4052","parents":[{"from":"CVE-2020-4052","to":"CVE-2024-34710","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/modules/rendering/html-core/renderer.js"],"commits":["https://github.com/Requarks/wiki/commit/9e08718ee904046f8b2294ef6ac79e8a75a451e3","https://github.com/requarks/wiki/commit/1238d614e1599fefadd4614ee4b5797a087f50ac"],"basis":"rarely changed file"}]},{"from":"CVE-2021-21383","to":"CVE-2024-34710","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/modules/rendering/html-core/renderer.js"],"commits":["https://github.com/Requarks/wiki/commit/5ffa189383dd716f12b56b8cae2ba0d075996cf1","https://github.com/requarks/wiki/commit/1238d614e1599fefadd4614ee4b5797a087f50ac"],"basis":"rarely changed file"}]}]}}