Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scala-compiler jar contains jQuery 1.8.2 that is vulnerable to number of XSS attacks: CVE-2012-6708, CVE-2012-6708, CVE-2019-11358 #11567

Closed
plokhotnyuk opened this issue Jun 14, 2019 · 4 comments · Fixed by scala/scala#8179

Comments

@plokhotnyuk
Copy link

plokhotnyuk commented Jun 14, 2019

It was detected by the amazing sbt-dependency-check plugin when applied for jsoniter-scala repo.

Steps to get and open reports for different Scala versions:

git clone https://github.com/plokhotnyuk/jsoniter-scala
cd jsoniter-scala
sbt clean +dependencyCheck
xdg-open jsoniter-scala-macros/target/scala-2.11/dependency-check-report.html
xdg-open jsoniter-scala-macros/target/scala-2.12/dependency-check-report.html
xdg-open jsoniter-scala-macros/target/scala-2.13/dependency-check-report.html
@SethTisue SethTisue modified the milestones: 2.13.1, 2.11.13 Jun 14, 2019
@plokhotnyuk plokhotnyuk changed the title scala-compiler jar contains jQuery that is vulnerable to XSS attacks before 1.9.0 scala-compiler jar contains jQuery 1.8.2 that is vulnerable to number of XSS attacks: CVE-2012-6708, CVE-2012-6708, CVE-2019-11358 Jun 14, 2019
@exoego
Copy link

exoego commented Jun 26, 2019

I want to provide help to this issue.
Let me have a couple of days.

@exoego
Copy link

exoego commented Jun 26, 2019

Question to @scala/docs
What is a web browser requirement for ScalaDoc, especially Internet Explorer ?

Supported versions

  • jQuery 1.x: Supports IE6+
  • jQuery 2.x: Supports IE8+
  • jQuery 3.x: Supports IE9+

According to some browser usage statistics (I digged https://caniuse.com), global IE6-9 usage is very low (less than 0.5%).
Since Microsoft already terminated IE8 support, I think we may switch to jQuery 2.x or 3.x, which supposed to be faster and more stable.

@dwijnand
Copy link
Member

Yeah, jQuery 3.x sounds reasonable. I'll let you know if there's pushback on that idea.

@exoego
Copy link

exoego commented Jun 27, 2019

Opened a PR scala/scala#8179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants