Headline
CVE-2022-27168: GitHub - litecart/litecart: LiteCart is a superfast e-commerce platform. Free for everyone to use. Built with the obession of lightweight using PHP, jQuery HTML 5 and CSS 3.
Cross-site scripting vulnerability in LiteCart versions prior to 2.4.2 allows a remote attacker to inject an arbitrary script via unspecified vectors.
LiteCart is a lightweight e-commerce platform for online merchants. Developed in PHP, HTML 5, and CSS 3.
LiteCart is a registered trademark, property of founder T. Almroth - LiteCart AB.
How To Install
For an updated version of the upgrade documentation, visit https://wiki.litecart.net/how_to_install
What you need:
- An Apache2 web server running PHP 5.4 or higher. Latest stable PHP release recommended for best performance.
- A MySQL 5.5+ account.
If you don’t have access to a web server and want to try LiteCart on your local machine, check out AMPPS. AMPPS is an Apache web server suite that offers LiteCart for installation with one click using Softaculous.
Instructions
Please note running your own website requires some common sense of web knowledge. If this is not your area of expertise, ask a friend or collegue to assist you.
Connect to your web host via FTP using your favourite FTP software.
Transfer the contents of the folder public_html/ in this archive (yes the contents inside the folder - not the folder itself). Transfer it to your website root directory. Using subdirectories is supported but not recommended.
Example:
/var/www/
/home/username/public_html/
C:\xampp\htdocs\
Paths are machine specific, so talk to your web host if you are uncertain where this folder is.
Point your web browser to the URL of your website followed by the subfolder install/ e.g. http://www.mysite.com/install/. If you placed LiteCart in a subfolder of the web root, the path should be something like http://www.mysite.com/litecart/install. The installation page should now load.
Carefully read the instructions on the page. Fill in your details for database, region, etc. Click the Install button when you are ready.
If everything went well LiteCart should be successfully installed.
For community written installation instructions see https://wiki.litecart.net/doku.php?id=how_to_install.
How To Get Started
To get your store up and running, see our step list for best practise.
How To Change The Look Of Your Store
Navigate to the folder ~/includes/templates/default.catalog/ and you will find all HTML content and CSS files to edit. If you want to adapt your work with LESS instead of CSS you will need a LESS compiler. We recommend downloading our Developer Kit that has a preconfigured LESS compiler and JavaScript minifyer.
See our wiki article How To Create a Template.
Links
- Official Website
- GitHub Repository
- Issue Tracker
- Community Forums
- Community Wiki