diff --git a/kde-frameworks/kcoreaddons/files/kcoreaddons-5.26.0-CVE-2016-7966.patch b/kde-frameworks/kcoreaddons/files/kcoreaddons-5.26.0-CVE-2016-7966.patch new file mode 100644 index 0000000000000..8374d5a1a4bd1 --- /dev/null +++ b/kde-frameworks/kcoreaddons/files/kcoreaddons-5.26.0-CVE-2016-7966.patch @@ -0,0 +1,122 @@ +From 96e562d9138c100498da38e4c5b4091a226dde12 Mon Sep 17 00:00:00 2001 +From: Montel Laurent +Date: Fri, 30 Sep 2016 13:21:45 +0200 +Subject: [PATCH] Don't convert as url an url which has a " + +--- + autotests/ktexttohtmltest.cpp | 6 ++++++ + src/lib/text/ktexttohtml.cpp | 25 +++++++++++++++++++------ + src/lib/text/ktexttohtml_p.h | 2 +- + 3 files changed, 26 insertions(+), 7 deletions(-) + +diff --git a/autotests/ktexttohtmltest.cpp b/autotests/ktexttohtmltest.cpp +index 8fc0c56..c5690e8 100644 +--- a/autotests/ktexttohtmltest.cpp ++++ b/autotests/ktexttohtmltest.cpp +@@ -386,6 +386,12 @@ void KTextToHTMLTest::testHtmlConvert_data() + QTest::newRow("url-with-url") << "foo >" + << KTextToHTML::Options(KTextToHTML::PreserveSpaces) + << "foo <http://www.kde.org/ <http://www.kde.org/>>"; ++ ++ //Fix url exploit ++ QTest::newRow("url-exec-html") << "https://\">