Code Monkey home page Code Monkey logo

Comments (10)

JalonSolov avatar JalonSolov commented on June 15, 2024 6

Right now, markdown isn't rendered at all. I think md files are just dumped as text to the browser. So no vulnerability there.

Definitely something to keep in mind once markdown rendering is live.

from gitly.

JalonSolov avatar JalonSolov commented on June 15, 2024 5

I stand corrected. This is indeed something that should be fixed ASAP.

from gitly.

Not-Nik avatar Not-Nik commented on June 15, 2024

FYI since pushing to gitly is not available yet, the source is also viewable seperately (without XSS :^) here

from gitly.

Larpon avatar Larpon commented on June 15, 2024

Thanks for reporting this!

from gitly.

oleggtro avatar oleggtro commented on June 15, 2024

A xss vuln is usually considered critical...
You could steal sessions and a lot of other really bad stuff could happen and you don't care?

from gitly.

JalonSolov avatar JalonSolov commented on June 15, 2024

I never said anything about not caring. Dumping text to the browser windows is NOT an xss vulnerability, since it is just text, and doesn't get executed.

If you know for a fact that it is being executed, then yes, that is indeed a critical problem.

from gitly.

Not-Nik avatar Not-Nik commented on June 15, 2024

Well if you click on the link you should see an alert. That's a pretty good sign that there is some execution going on.

from gitly.

LouisSchmieder avatar LouisSchmieder commented on June 15, 2024

This is not a gitly problem this is a vweb problem because the text inserts wrong. It needs to be filtered

from gitly.

medvednikov avatar medvednikov commented on June 15, 2024

well we use vweb.RawHtml to render readme.md

I've disabled it entirely, until we use an actual markdown parser again.

from gitly.

LouisSchmieder avatar LouisSchmieder commented on June 15, 2024

I've wrote a fix now for it in vweb with the new type vweb.RawText

from gitly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.