Share
## https://sploitus.com/exploit?id=FA82A339-0828-5403-9FD4-1A33BFA85D82
# CVE-2024-28397 js2py Sandbox Escape Exploit - (CodePartTwo - HTB)

A Python exploit code for **CVE-2024-28397**, a critical vulnerability in js2py  0.74)
2. **Input Validation**: Sanitize JavaScript code before execution
3. **Sandboxing**: Use additional containerization (Docker, chroot)
4. **Code Review**: Audit JavaScript execution contexts
5. **WAF Rules**: Block suspicious JavaScript patterns

## โš ๏ธ Legal Disclaimer

This tool is for **authorized penetration testing and educational purposes only**. Users are responsible for complying with applicable laws and regulations. Unauthorized access to computer systems is illegal.

## ๐Ÿ“š References

- [Original CVE Report](https://huntr.com/bounties/1b4f8f38-39da-44b6-9f98-f618639d0dd7)
- [js2py GitHub Repository](https://github.com/PiotrDabkowski/Js2Py)
- [CVE-2024-28397 Details](https://vulners.com/cve/CVE-2024-28397)

## ๐Ÿ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.