{"id":75782,"date":"2026-01-08T13:45:55","date_gmt":"2026-01-08T10:15:55","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-21872-nicegui-apps-are-vulnerable-to-xss-which-uses-ui-sub_pages-and-render-arbitrary-user-provided-links\/"},"modified":"2026-01-08T13:45:55","modified_gmt":"2026-01-08T10:15:55","slug":"cve-2026-21872-nicegui-apps-are-vulnerable-to-xss-which-uses-ui-sub_pages-and-render-arbitrary-user-provided-links","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-21872-nicegui-apps-are-vulnerable-to-xss-which-uses-ui-sub_pages-and-render-arbitrary-user-provided-links\/","title":{"rendered":"CVE-2026-21872 &#8211; NiceGUI apps are vulnerable to XSS which uses `ui.sub_pages` and render arbitrary user-provided links"},"content":{"rendered":"<p>CVE ID : CVE-2026-21872<\/p>\n<p>Published :  Jan. 8, 2026, 10:15 a.m. | 2\u00a0hours, 12\u00a0minutes ago<\/p>\n<p>Description : NiceGUI is a Python-based UI framework. From versions 2.22.0 to 3.4.1, an unsafe implementation in the click event listener used by ui.sub_pages, combined with attacker-controlled link rendering on the page, causes XSS when the user actively clicks on the link. This issue has been patched in version 3.5.0.<\/p>\n<p>Severity: 6.1 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-21872 Published : Jan. 8, 2026, 10:15 a.m. | 2\u00a0hours, 12\u00a0minutes ago Description : NiceGUI is a Python-based UI framework. From versions 2.22.0 to 3.4.1, an unsafe implementation in the click event listener used by ui.sub_pages, combined with attacker-controlled link rendering on the page, causes XSS when the user actively clicks on &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-75782","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/75782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=75782"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/75782\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=75782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=75782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=75782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}