You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/07 21:53:00 UTC
[jira] [Commented] (SOLR-13987) Admin UI should not rely on
javascript eval()
[ https://issues.apache.org/jira/browse/SOLR-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16990627#comment-16990627 ]
ASF subversion and git services commented on SOLR-13987:
--------------------------------------------------------
Commit f9e15839bfb8b656d3d5b72e008f57bbd2f2d331 in lucene-solr's branch refs/heads/master from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f9e1583 ]
SOLR-13987: Admin UI should not rely on javascript eval()
* Removes `'unsafe-eval'` from CSP `script-src`
* Enables Angular CSP mode
* Removes `eval()` JSON parsing in `cloud.js`
* Removes `jstree` themes error
Signed-off-by: Kevin Risden <kr...@apache.org>
> Admin UI should not rely on javascript eval()
> ---------------------------------------------
>
> Key: SOLR-13987
> URL: https://issues.apache.org/jira/browse/SOLR-13987
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Admin UI
> Reporter: Robert Muir
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 8.4
>
> Attachments: SOLR-13987.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Followup from SOLR-13982: currently any CSP is weak because it must allow this eval: means arbitrary javascript can still be executed.
> Let's fix the admin UI to not require eval so it can be disabled by the browser.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org